增加TubeGenerator,DUI架构调整
This commit is contained in:
@@ -31,9 +31,9 @@ namespace Ichni.Editor
|
||||
connectedBaseElement.Refresh();
|
||||
}
|
||||
|
||||
public void AddListenerFunction(UnityAction<bool> action)
|
||||
public override void AddListenerFunction(UnityAction action)
|
||||
{
|
||||
toggle.onValueChanged.AddListener(action);
|
||||
toggle.onValueChanged.AddListener(_ => action());
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user