< Return to Video

How to use custom icons for empty game objects in Scene view - Unity Tips

  • 0:01 - 0:04
    Here's a quick tip for Unity.
  • 0:05 - 0:13
    In Unity, its common to use empty game objects for spawn points, and other invisible objects in our scene
  • 0:13 - 0:21
    Here we have an empty game object called Spawn Point which currently only has a Transform component
  • 0:21 - 0:26
    When we have the object highlighted in the Hierarchy, it's easy to see.
  • 0:26 - 0:30
    but when we deselect it, it becomes completely invisible
  • 0:30 - 0:35
    to solve this, we can assign our empty game object a custom icon
  • 0:36 - 0:41
    the icon menu is in the upper left corner of the Inspector
  • 0:41 - 0:45
    by click on it, we can choose a panel icon
  • 0:45 - 0:50
    which will show the object's name against a coloured panel
  • 0:50 - 0:55
    we can choose a small circular icon of various colours
  • 0:55 - 0:57
    a diamond
  • 0:58 - 1:02
    or we can click Other to choose a custom icon
  • 1:02 - 1:08
    Here I will assign the default particle texture as the icon
  • 1:09 - 1:13
    Now when we deselect the object
  • 1:13 - 1:17
    we can see that the icon causes it to remain visible
  • 1:18 - 1:28
    these icons will not be visible in the Game view, unless the 'Gizmos' toggle is turned on
Title:
How to use custom icons for empty game objects in Scene view - Unity Tips
Description:

more » « less
Duration:
01:32

English subtitles

Revisions