Esempio n. 1
0
 //-------------------------------------------------------------------------
 public override void close()
 {
     CoActor             = null;
     CoActorAi           = null;
     BtChildPlayerManual = null;
     mBehaviorTree       = null;
 }
Esempio n. 2
0
        //-------------------------------------------------------------------------
        public override void _init()
        {
            BtChildPlayerManual = new BtChildPlayerManual(CoActorAi, Blackboard, BehaviorTree);

            var root = new Selector(mBehaviorTree,
                                    BtChildPlayerManual.child()
                                    );

            mBehaviorTree.setRoot(root);
        }