File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ public class ExampleUsage : MonoBehaviour {
108108 public void Awake () {
109109 var bt = new BehaviorTreeBuilder (gameObject )
110110 .Sequence ()
111- .CustomAction ()
111+ .CustomAction ()
112112 .End ();
113113 }
114114}
@@ -121,6 +121,7 @@ public class ExampleUsage : MonoBehaviour {
121121 + [ Actions] ( #actions )
122122 - [ Generic] ( #action-generic )
123123 - [ Wait] ( #wait )
124+ - [ Wait Time] ( #wait-time )
124125 + [ Conditions] ( #conditions )
125126 - [ Generic] ( #condition-generic )
126127 - [ Random Chance] ( #random-chance )
@@ -181,6 +182,17 @@ Skip a number of ticks on the behavior tree.
181182.End ()
182183```
183184
185+ #### Wait Time
186+
187+ Waits until the passed number of seconds have expired in ` deltaTime ` .
188+
189+ ``` C#
190+ .Sequence ()
191+ .WaitTime (2 . 5 f )
192+ .Do (MyAction )
193+ .End ()
194+ ```
195+
184196### Conditions
185197
186198#### Condition Generic
You can’t perform that action at this time.
0 commit comments