So in my game, I used a lot of variables in different different circumstances. I wonder if there is any way I can group them together so that it doesn't look confusing?
1. Variables used in mechanism A will all be grouped into the same place under mechanism A. Like managing assets folder I keep them in a separate place.
2. Deleting variables that's not being used. I tend to create variables after that realizing they're not useful so I decided to change it's name or just abandon it, but it stays as one of the game variable although having no function. Is there a way to delete the unusable variables?