Gizmos at RunTime

Hi.

I’m working on a space project and I’ve been trying to do something similar to Gizmos without any success.

For those of you that know the game “Eve Online”, what I want is to draw a simple bitmap on screen (like a gizmo) that allows the player to click and select distant objects like a distant Asteroid Field.

The Gizmos approach works exactly as intended, drawing always the same size no matter if the object is distant or close, but I can’t seem to use the Gizmo functionality on a production build.

Is there any way, workaround or alternative you guys know of?

Thank you.

If you need it the same size regardless of distance or angle, treat it like a GUI element. Use an orthographic camera, and use Camera.WorldToScreenPoint() to position it over the object.