A Sandcastle Documented Class Library
MyTreeBuilderDo Method |
Create an action node.
Namespace: FightGameAIDemo.Behavior_Tree
Assembly: FightGameAIDemo (in FightGameAIDemo.exe) Version: 1.0.0.0 (1.0.0.0)

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})"]

Exception | Condition |
---|---|
ApplicationException | Can't create an unnested ActionNode, it must be a leaf node. |
