This is the first part of a series of posts dedicated to the most useful, short and sweet tips to make the most out of Unity. Today we will focus on interesting features of the editor which can really speed up your workflow.

You can use the hashtag #UnityTips to find many more tips posted by developers all around the world.

In-editor Arithmetic Expressions

All the numerical fields in the inspector support basic arithmetic expressions.

Numerical values are automatically assumed as either int or float and the trailing f is not required.

Snapping

Unity supports several snapping options.

Press Ctrl while moving an object to snap its position:

This works even when scaling and rotating an object.

while moving an object to snap its position: This works even when scaling and rotating an object. You can configure the amount of snap in Edit > Snap Settings… .

. Holding V allows to snap to the vertex of a mesh:

Move along Local Axes

When an object is selected, the move handlers are aligned with the global axes. By switching to Local Mode instead, you can move an object along its rotated axes.

The Local / Global toggle is found under the menu.

Copy / Paste Colours

You can copy and paste colours.

Save Changes made in Play Mode

One of the most frustrating bits of Unity is that all the changes made to an object in Play Mode are deleted once you stop the game. There’s a way to go around this.

Enter in Play Mode Made all the changes you need to your object From the Inspector, right click on the name of your component and then select Copy Component Exit from Play Mode Right click again on the component name and select Paste Component Values

Asset duplication

You can duplicate an asset by selecting in the Project window Ctrl + D .

Resizeable Preview and Maximised Game

The Preview window is often too small and cannot be easily expanded in the Inspector window. Right click on it will move it into a floatable, resizeable and expandable version.

Similarly, the Game window can be resize without restarting the game. Just right click on its tab and select Maximize:

Stay Focused on Objects

You have several options to control the camera of the inspector:

Press F when an object is selected to focus on it; this will also zoom on it.

when an object is selected to focus on it; this will also zoom on it. Double click on an object to centre it on the camera.

Press Shift + F to lock the editor camera onto the selected object. The camera will follow your object, even if it moves.

Asset Store Search

Searching something on the Asset Store often breaks the flow of your work. Luckily, Unity supports a fast method to search assets on the Store. To do this, you can simply type something in the search bar of the Project window; then, select Asset Store instead of Asset. The assets are grouped in two categories: free and paid.

Other resources