- Home /
Draw arbitrary stuff in level editor only
Is there an API for drawing arbitrary things in the level editor only (ie, not while the game is running)? I know you can draw Gizmos, but this doesn't quite suit my purposes. For example, is there a way to emulate the way Box Colliders are drawn as green boxes when selected?
Answer by AlucardJay · Apr 19, 2013 at 07:53 PM
Could you expand on how gizmos are unsuitable? Your example is totally possible using gizmos :
Oh, that feature is a lot broader than I thought it was. I guess I can do what I want with that. Thanks, sorry for dumb question :P
The Handles class is also useful if you find yourself in the OnSceneGUI of a custom Inspector.
Your answer
Follow this Question
Related Questions
see colliders in editor 1 Answer
Internal collisions 1 Answer
Children's collider2D gizmo position incorrect in scene view 0 Answers