Custom Inspectors
I’ll admit, initially I thought I didn’t need Custom Inspectors and thought why would I invest time in something that doesn’t directly contribute to the game. For some time now, some script in my project have grown so much that their inspector got way too long. The PlayerSteps script is one of those scripts. It handles the different sounds of footsteps for the player and where and when to spawn wet-steps or water-splashes. This means it consists of multiple arrays and settings for each step etc.
The custom inspector, which adds tabs for the different footsteps.
Especially when tweaking volume values of the different steps while in playmode it was a huge hassle to find the right settings and for that reason I decided I should finally dive into custom inspectors and it’s uses.
The old inspector for the PlayerSteps script, which was obviously way to long.














