Hello, I am trying to stop a behavior tree from executing once the enemy is dead. I have tried to set the behavior to false via tree.enabled = false and also tried the tree.DisableBehavior() API with and without the pause flag. They all just restart my tree and I cannot figure out why. I don't have Restart When Complete enabled.
Here is a screenshot:
In the designer I can see the tree restarts.
Any ideas or suggestions?
Thanks.
Here is a screenshot:
In the designer I can see the tree restarts.
Any ideas or suggestions?
Thanks.