Answer the question
In order to leave comments, you need to log in
How to optimize OnTriggerStay?
I have 100 bots, they find the enemy through he trigger enter, and he trigger stay, if they have entered the trigger for a long time, then it will work OnTriggerStay. as a result, OnTriggerStay is shown 100,000 times in my profiler. how to reduce it?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question