예제 #1
0
 //-------------------------------------------------------------------------
 public override void close()
 {
     CoActor             = null;
     CoActorAi           = null;
     BtChildPlayerManual = null;
     mBehaviorTree       = null;
 }
예제 #2
0
파일: BtPlayer.cs 프로젝트: yinlei/Fishing
        //-------------------------------------------------------------------------
        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);
        }