- Home /
Question by
DanVioletSagmiller · Jun 07, 2019 at 02:54 PM ·
custom editorcustomcustom inspector
CustomEditor for gameobject, how do I insert the content, verses overlap the content?
I have created a CustomEditor for GameObject, which allows me to place editor fields at the top of the inspector, the problem is that it is not pushing down any items, so I end up overlapping the component editors.
As you can see it just overlaps. But how do I push down transform and camera? (and other components?)
- Thanks!
2019-06-07-7-51-41.png
(61.8 kB)
Comment
Got one answer else where, haven't had the time to check it yet:
Stephen Lujan Just add the line DrawDefaultInspector(); Above or below your custom content