Exemplo n.º 1
0
 public void OpenBehaviorEditor(GameObject go)
 {
     if (go == null)
     {
         return;
     }
     selectNodeName = "";
     CurTreeGO      = go;
     NewLoadData();
     BTEditorWindow.ShowWindow();
     Game.Scene.GetComponent <EventComponent>().Run(EventIdType.BehaviorTreeOpenEditor);
 }
Exemplo n.º 2
0
        public void OpenBehaviorEditor(GameObject go)
        {
            if (go == null)
            {
                return;
            }
            selectNodeName = "";
            CurTreeGO      = go;

            this.NewLoadPrefabTree();

            BTEditorWindow.ShowWindow();
            Game.EventSystem.Run(EventIdType.BehaviorTreeOpenEditor);
        }