Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Voting for the Unity Awards are OPEN! We’re looking to celebrate creators across games, industry, film, and many more categories. Cast your vote now for all categories
    Dismiss Notice
  3. Dismiss Notice

Custom gizmo icon disappears when selected

Discussion in 'Editor & General Support' started by Kaldrax, Apr 15, 2018.

  1. Kaldrax

    Kaldrax

    Joined:
    Sep 14, 2017
    Posts:
    44
    I've got empty game objects all over my scene with nothing but a script on them (spawn points). I attached a custom icon to the script so that I can easily see and select them in the scene view, but when I select them, the icon completely disappears. Please advise. Thanks!!!
     
  2. Kaldrax

    Kaldrax

    Joined:
    Sep 14, 2017
    Posts:
    44
    I've solved this by making my own icon in GIMP and using OnDrawGizmos() and Gizmos.DrawIcon()
     
  3. briancheckmatevr

    briancheckmatevr

    Joined:
    Jun 3, 2021
    Posts:
    1
    Sorry to revive an old thread. Has anyone got a working solution to this please? I tried Kaldrax's idea but it doesnt seem to work either.