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

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

            mBehaviorTree.setRoot(root);
        }
Example #3
0
        //-------------------------------------------------------------------------
        public override void _init()
        {
            BtChildPlayerManual = new BtChildPlayerManual(CoActorAi, Blackboard, BehaviorTree);

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

            mBehaviorTree.setRoot(root);
        }