#any way to do this using a unity editor script?
1 messages · Page 1 of 1 (latest)
This already looks like an editor script to me.
Anyhow, if you want elements to appear in-between the fields inserted by Unity, you will have to make the entire editor on your own.
Or you try using a property drawer.
what do you mean? you mean a normal editor script or?
cause what i have is a normal editor script
To add elements before or after everything the default inspector displays, you can just call base.OnInspectorGUI(); after or before your own stuff.
If you want to insert controls between the elements of the default inspector, you won't be able to do that and you'll have to draw every property yourself.
is there a good way to do that second option?