How can I activate and deactivate an enemy on player proximity
Hi all, I am making an open world game and the last few days I am struggling with multiple enemies on scene that make fps drop to low,I have tried occlusion and LOD systems but when player turn his back on enemies they just disappear. I just need a script to activate and deactivate enemies on player proximity.Something to disable gameobjects based on they tag will be great
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613050226im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Enable/Disable AudioListener c# 2 Answers
Cant Disable Script on Another Gameobject 1 Answer