Exemplo n.º 1
0
 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);
 }
Exemplo n.º 2
0
 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);
 }