Tips & Tricks



Tips, Tricks & Cool features.


001: Creating a GuiTexture whilst having a 2D texture selected in the 'project pane' will automatically use that texture (instead of the default Unity Logo) and correctly set up the pixel inset values.

002: Camera's can have their own skybox via adding the skybox component to any camera.

003: Cubemaps are never compressed in vram (ARGB32) (standalone/web player), for skyboxes you are better off using 6 compressed textures if memory is an issue.

004: Use [] around important gameObject names or append an underscore to the beginning to place them at the top of the hierarchy.

005: Project Wide Defines - See here.

006: Holding down "Ctrl" you can drag a object one block at a time.

007: Have the scene camera in an awesome position and want to move the game camera to match?
-Select the camera in the hierarchy then GameObject -> Align With View

008: Want to move the scene camera to the position of the main camera?
-Select the main camera then GameObject -> Align view to selected

009: Create a material with the shader you want to use highlighted in the project browser it will use the selected shader by default.

010: FBX Scale Fix & Automatically add colliders - See Silence post.

011: Delete inspector array items (like the input manager) by clicking on the item and pressing cmd-delete (or the Windows equivalent - think that is just delete). 

012: You can insert into inspector array items by selecting an item and hitting cmd-d to duplicate.

013: FBX - select embed media when exporting your fbx files. The textures will then be placed into a seperate folder, which will be linked to your model automatically when imported into Unity.