Hi,
I've been working on a game for two years now and now I'm at the part where I'm optimizing the game to my best ability. The enemies in my game are the main issue with the performance, each level having around 100 of them, and I've done everything to avoid loops and every frame updates to happen to keep idling enemies as lightweight as possible for CPU.
But the game still could run better, so I noticed all of my enemies have automatically added scripts like "PlaymakerTriggerEnter" etc. I'm wondering if Playmaker will re-add the necessary ones if I were to delete those scripts manually for testing purposes? The scripts have changed a lot and I relied a lot on triggers/physics-based things in the past, but not as much anymore.
I can't remember which of those automatic trigger/physics scripts Playmaker would still require to keep my own AI scripts running, so I'm asking if Playmaker will still re-add them to the prefab enemies on demand?
Sorry if this sounded a bit ranty and messy. I'm just running out of ideas on how to optimize my enemies at this point, so I'd want to try deleting the automatic scripts and see if it changes anything. It's an old messy project after all so who knows what's eating the performance at this point.