Unity: SimpleGizmoDisplay

SimpleGizmoDisplay is a simple utility file for displaying in-editor gizmos in Unity.

You can drop the component on to any GameObject, select your parameters, and it does the rest for you. It’s possible to have the component multiple times on the same object to create more complex gizmo displays (e.g. you could have an icon displayed on a character with on SimpleGizmoDisplay, but a line coming out of the character, pointing toward something, with another SimpleGizmoDisplay).

All parameters are accessible publicly, so it’s very easy to script for.

 

The options available in the Inspector for SimpleGizmoDisplay.

The options available in the Inspector for SimpleGizmoDisplay.

C# code here

https://github.com/craigfortune/SimpleGizmoDisplay

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s