- Home /
Override scene view grid with my own?
I'd like to override the scene grid with my own custom grid.
The "Grid" component does this, but i'd like more control, such as adding a larger chunk grid with more opaque outlines and offsets etc.
I looked for the source of the grid component but i couldn't find anything on how to override the scene view grid or how to draw an endless grid in the scene view.
I'm new at Unity, but what you asking sounds a lot like you need a Custom Editor
https://docs.unity3d.com/$$anonymous$$anual/editor-CustomEditors.html
Yeah, that seems like the way to do it. I'm assu$$anonymous$$g i need the "DrawLine" method from the Handles class; i managed to set up a basic gizmo grid with a for loop but i don't know how to make the grid endless like in the scene view and the grid component.
Your answer
Follow this Question
Related Questions
Modal Functionality in Custom Editor Window 0 Answers
Custom scene view in editor window 2 Answers
Custom debug color display for scene view? 2 Answers
2d mode through Editor Script 1 Answer
Using Handles.DrawAAPolyLine 1 Answer