示例#1
0
 protected override void OnEnter(Actor actor, Blackboard local)
 {
     local.SetValue <int>(COUNTER_FIELD_NAME, 0);
 }
示例#2
0
 protected override void OnExit(Actor actor, Blackboard local)
 {
 }
示例#3
0
 public BlackboardCache()
 {
     m_globalScope = new Blackboard();
     m_treeScope   = new Dictionary <BehaviorTree, Blackboard>();
     m_nodeScope   = new Dictionary <BehaviorTreeNode, Blackboard>();
 }