D DeanMarquette New member Aug 5, 2020 #1 Is there anyway to restart "all" Behavior Trees within the scene? This way I don't have to repeat find game object with tag, I can just restart the Tree when needed for multiple trees
Is there anyway to restart "all" Behavior Trees within the scene? This way I don't have to repeat find game object with tag, I can just restart the Tree when needed for multiple trees
Justin Administrator Staff member Aug 6, 2020 #2 There isn't anything built in, but you can use FindObjectsOfType to find all behavior tree components. Unity - Scripting API: Object.FindObjectsOfType docs.unity3d.com
There isn't anything built in, but you can use FindObjectsOfType to find all behavior tree components. Unity - Scripting API: Object.FindObjectsOfType docs.unity3d.com