“This is the fourth day of my participation in the First Challenge 2022. For details: First Challenge 2022”
Tip 1: Inspector panel numerical calculations
For fields of all numeric types, simple numeric expressions can be entered directly in the inspector. For example: add the x-coordinate of Cube +1.2, so we don’t need to calculate it ourselves
Tip 2: Copy components
If you modify the Component properties of a prefab while in run mode, you can right-click the Component and select “Copy Component”. After shutting down run mode, go to the same prefab and right-click it and select “Paste Component Values”. This copies the value of the property you just changed in run mode.
Tip 3: Search the game body
After entering the Hierarchy panel, you can search for the specified object by name. You can also use t: component name (for example: T: BoxCollider) to obtain all game bodies with this component.
Tip 4: Debug mode
If you need to see private variables on the Inspector, you can view them in Debug mode. When opened, you can see many private variables.
Tip 5: Run and pause
At the same time, you can debug your app frame by clicking the pause button, and then clicking the Play button. In this case, you can pause your app frame by clicking the pause arrow on the right of your app.
Tip 6: Alt + left click to expand/merge all child levels
When there are too many levels of child objects, and it’s too much clicking to expand or merge, you can easily expand or merge all the child objects ==Alt + left click ==.
How’s that? This a few tips you know a few, already eager to try it, hurry up and try it yourself.