⚠ UNITY TIP ⚠
ContextMenus can be a life saver when it comes to testing your game!
Ever wanted to trigger a function without going through the task it's self? [ContextMenu] is for you!
Simply create a private function within your script that performs the task you want to do. Add the [ContextMenu("xxx")] attribute above the method declaration. Play your game. Right click the script in the hierarchy and click your new context menu button!
The possibilities are endless! .