MyTreeBuilder.Do Method

Fight Game AI Demo

MyTreeBuilderDo Method
Create an action node.

Namespace: FightGameAIDemo.Behavior_Tree
Assembly: FightGameAIDemo (in FightGameAIDemo.exe) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public MyTreeBuilder Do(
	string name,
	Func<MyTimeData, MyBehaviourTreeStatus> fn
)

Parameters

name
Type: SystemString
The name.
fn
Type: SystemFuncMyTimeData, MyBehaviourTreeStatus
The function.

Return Value

Type: MyTreeBuilder

[Missing <returns> documentation for "M:FightGameAIDemo.Behavior_Tree.MyTreeBuilder.Do(System.String,System.Func{FightGameAIDemo.Behavior_Tree.MyTimeData,FightGameAIDemo.Behavior_Tree.MyBehaviourTreeStatus})"]

Exceptions
ExceptionCondition
ApplicationExceptionCan't create an unnested ActionNode, it must be a leaf node.
See Also