public void OpenBehaviorEditor(GameObject go) { if (go == null) { return; } selectNodeName = ""; CurTreeGO = go; NewLoadData(); BTEditorWindow.ShowWindow(); Game.Scene.GetComponent <EventComponent>().Run(EventIdType.BehaviorTreeOpenEditor); }
public void OpenBehaviorEditor(GameObject go) { if (go == null) { return; } selectNodeName = ""; CurTreeGO = go; this.NewLoadPrefabTree(); BTEditorWindow.ShowWindow(); Game.EventSystem.Run(EventIdType.BehaviorTreeOpenEditor); }