예제 #1
0
        public void OnEnable()
        {
            BTAsset      btAsset = (BTAsset)serializedObject.targetObject;
            BehaviorTree bt      = btAsset.Deserialize();

            manager             = BTEditorManager.CreateInstance(bt, btAsset);
            manager.btInspector = this;
        }
예제 #2
0
 public void Awake()
 {
     behaviorTree = btAsset.Deserialize();
     context      = new Context();
 }