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

            this.NewLoadPrefabTree();

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