//------------------------------------------------------------------------- public override void close() { CoActor = null; CoActorAi = null; BtChildPlayerManual = null; mBehaviorTree = null; }
//------------------------------------------------------------------------- public override void _init() { BtChildPlayerManual = new BtChildPlayerManual(CoActorAi, Blackboard, BehaviorTree); var root = new Selector(mBehaviorTree, BtChildPlayerManual.child() ); mBehaviorTree.setRoot(root); }