A Sandcastle Documented Class Library
MyTreeBuilderCondition Method |
Like an action node... but the function can return true/false and is mapped to success/failure.
Namespace: FightGameAIDemo.Behavior_Tree
Assembly: FightGameAIDemo (in FightGameAIDemo.exe) Version: 1.0.0.0 (1.0.0.0)

C#
public MyTreeBuilder Condition( string name, Func<MyTimeData, bool> fn )
Parameters
- name
- Type: SystemString
The name. - fn
- Type: SystemFuncMyTimeData, Boolean
The function.
Return Value
Type: MyTreeBuilderMyTreeBuilder
