예제 #1
0
 protected override Status OnExecute(Component agent, IBlackboard bb)
 {
     if (target == null)
     {
         return(Error("Target Node of Jumper node is null"));
     }
     DLGTree.EnterNode(target);
     return(Status.Success);
 }
예제 #2
0
 void OnStatementFinish()
 {
     count++;
     if (count < textsCount)
     {
         DLGTree.EnterNode(this);
     }
     else
     {
         count  = 0;
         status = Status.Success;
         DLGTree.Continue();
     }
 }