Unity allows you to assign custom icons for GameObjects and scripts. These icons display in the Scene view, along with built-in icons for items such as Lights and Cameras. Use the Gizmos menu to control how icons are drawn in the Scene view.
To change the icon for a GameObject, select the GameObject in the Heirarchy window or Scene view, then click the Select Icon button (the blue cube, highlighted with a red square in the image below) in the Inspector window to the left of the GameObject’s name.
When you assign an icon to a GameObject, the icon displays in the Scene view over that GameObject (and any duplicates made afterwards). You can also assign the icon to a Prefab to apply the icon to all instances of that Prefab in the Scene.
To assign a custom icon to a script, select the script in the Project window, then click the Select Icon button (the C# file icon, highlighted with a red square in the image below) in the Inspector window to the left of the script’s name.
When you assign an icon to a script, the icon displays in the Scene view over any GameObject which has that script attached.
Whether you are assigning an icon to a GameObject or a Script, the pop-up Select Icon menu is the same:
The Select Icon menu has built-in icons. Click on an icon to select it, or click Other… to select an image from your project Assets to use as the icon.
The built-in icons fall into two categories: label icons and image-only icons.
Label icons
Assign a label icon to a GameObject or script to display the name of the GameObject in the Scene view.
Image-only icons
Image-only icons do not show the GameObject’s name. These are useful for assigning to GameObjects that may not have a visual representation (for example, navigation waypoints). With an icon assigned, you can see and click on in it the Scene view to select and move an otherwise invisible GameObject.
Any Asset image in your project can also be used as an icon. For example, a skull and crossbones icon could be used to indicate danger areas in your level.
Note: When an Asset’s icon is changed, the Asset itself is marked as modified and therefore picked up by version control systems.
Did you find this page useful? Please give it a rating:
Thanks for rating this page!
What kind of problem would you like to report?
Is something described here not working as you expect it to? It might be a Known Issue. Please check with the Issue Tracker at issuetracker.unity3d.com.
Thanks for letting us know! This page has been marked for review based on your feedback.
If you have time, you can provide more information to help us fix the problem faster.
Provide more information
You've told us this page needs code samples. If you'd like to help us further, you could provide a code sample, or tell us about what kind of code sample you'd like to see:
You've told us there are code samples on this page which don't work. If you know how to fix it, or have something better we could use instead, please let us know:
You've told us there is information missing from this page. Please tell us more about what's missing:
You've told us there is incorrect information on this page. If you know what we should change to make it correct, please tell us:
You've told us this page has unclear or confusing information. Please tell us more about what you found unclear or confusing, or let us know how we could make it clearer:
You've told us there is a spelling or grammar error on this page. Please tell us what's wrong:
You've told us this page has a problem. Please tell us more about what's wrong:
Thanks for helping to make the Unity documentation better!