public override void OnPrepare(BehaviourTreeRunner.AssetBinder binder, BTNode node) { base.OnPrepare(binder, node); blackboard = binder.Blackboard; from = blackboard.GetIndex(m_CopyFrom); to = blackboard.GetIndex(m_CopyTo); }
public override void OnPrepare(BehaviourTreeRunner.AssetBinder binder, BTNode node) { base.OnPrepare(binder, node); mBlackboard = binder.Blackboard; mPropertyIndex = string.IsNullOrEmpty(m_BlackboardProperty) ? -1 : mBlackboard.GetIndex(m_BlackboardProperty); }
public override void OnPrepare(BehaviourTreeRunner.AssetBinder binder, BTNode node) { base.OnPrepare(binder, node); mBlackboard = binder.Blackboard; mIndex = mBlackboard.GetIndex(m_VariableName); }