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

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

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

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

            mBehaviorTree.setRoot(root);
        }