Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

How to make GameObject without MeshFilter selectable in editor?

Discussion in 'Editor & General Support' started by briank, Mar 8, 2019.

  1. briank

    briank

    Joined:
    Mar 25, 2017
    Posts:
    74
    I'm using Graphics.DrawMesh behind the scenes to render what I need; Because of that, I'm unable to select my GameObject in the editor.

    I saw another thread that hinted to adding a MeshFilter to the GameObject, but it's not so simple for my case (I'm rendering many different meshes in a single Update). It seems like there should be an easier way...
     
  2. MSplitz-PsychoK

    MSplitz-PsychoK

    Joined:
    May 16, 2015
    Posts:
    1,278
    Yeah, select the GameObject in the hierarchy, click this icon to the left of it's name in the inspector, then select a new icon.
    GoIcon.PNG
     
    elpko likes this.