I noticed that you can edit variables from within a panel!
Now, this is awesome, but what if i want something more? I mean, plenty of scripts have cool buttons and it looks managed in the panel. What are the scripts for these (buttons and what not).
I noticed that you can edit variables from within a panel!
Now, this is awesome, but what if i want something more? I mean, plenty of scripts have cool buttons and it looks managed in the panel. What are the scripts for these (buttons and what not).
…
Someone HAS to know.
http://unity3d.com/support/documentation/Components/GUI%20Scripting%20Guide.html
And on the eighth day, God created documentation.
![]()
not like that.
Like, in the side. While you are viewing somethings properties.
pass: unity
you likely talk about editor scripting in which case basically the same applies, just with the Editor class as base (and the customeditor attribute)
Are you talking about exposing the vars in the inspector?
how do I make this:
look like this:
by writting an own editor for your specific class → CustomEditor Attribute and an own Editor class descendant script
As Dreamora said, that would be an editor script. The following is the documentation.
whoa!
this is awesome, thanks.