public void SetBehaviourTreeOverride(BehaviourTree behaviourTree) { BehaviourTree = behaviourTree; UnitBlackboard = BehaviourTree.Blackboard as UnitBlackboard; BehaviourTree.Executor = this; BehaviourTree.Init(); }