Can See Object with Tags

FireboltTZ

New member
I noticed that the Can See Object Task used FindObjectswithTag in the Update() Function, and it's very costly, will we have Faster Can see object Task funtion in the future? Or how can I solve it? It's generating 40kb GC perframe...
 
I recommend that you don't use the tag detection mode and instead use the layers or list method. The tag method is good for getting something quickly but is slow compared to the other methods.
 
Top