You are welcome.
In the BehaviourTreeOwner inspector, you need to set the “OnEnable” setting to “Do Nothing”. Otherwise if it is set to “Start Behaviour”, the behaviour will be started automatically as normal and by default. However if in your case you want to start the behaviour manually (like the code provided) you don’t want the BehaviourTreeOwner to also start it. Thus setting “OnEnable” to “Do Nothing” will prevent this 🙂
Join us on Discord: https://discord.gg/97q2Rjh
Login
Register
By registering on this website you agree to our Privacy Policy.