public abstract Run ( |
||
parameters | AiBlackboard with global parameters. | |
trees | IList |
Readonly list with all ai trees. |
tasks | List |
List of task scripts to bind with task nodes. |
리턴 | bool |
/// <summary> /// Runs this node. /// </summary> /// <param name="parameters">AiBlackboard with global parameters.</param> /// <param name="trees">Readonly list with all ai trees.</param> /// <param name="tasks">List of task scripts to bind with task nodes.</param> /// <returns>Always returns true.</returns> public override bool Run(AiBlackboard parameters, IList <AiTree> trees, List <TaskBinder> tasks) { for (int i = 0; i < Repeat; ++i) { _node.Run(parameters, trees, tasks); } return(true); }
/// <summary> /// Runs this node. /// </summary> /// <param name="parameters">AiBlackboard with global parameters.</param> /// <param name="trees">Readonly list with all ai trees.</param> /// <param name="tasks">List of task scripts to bind with task nodes.</param> /// <returns>Always returns true.</returns> public override bool Run(AiBlackboard parameters, IList <AiTree> trees, List <TaskBinder> tasks) { _node.Run(parameters, trees, tasks); return(true); }