Hi,
I have a simple script, which uses a circular area to spawn stuff in. It would be very useful that the script could draw this circle in the editor.
I found ‘@script ExecuteInEditMode()’ though this would make the entire script run in edit mode right? Which isn’t what I want. In editor mode it should only draw the circle, not spawn enemies, and ingame it should only spawn the enemies, not draw the circle. (I also don’t want different script, since then I would have to keep their radius in sync, which sucks.)
Any suggestions?
Thanks!