Show object with disabled Mesh Renderer in Scene builder

198 Views Asked by At

I'm using an object to trigger event, so its Mesh Renderer is turned off. But I want to see the object in Scene window anyway to be able to modify the level.

Here are my object's components:

enter image description here

How can I make an object visible for development purposes?

1

There are 1 best solutions below

0
On

You should use Gizmos.

Gizmos are used to give visual debugging or setup aids in the Scene view.

In your case try Gizmos.DrawMesh, or if it's a simple cube Gizmos.DrawCube.