|
Hi I have seen other editor scripts use custom styles (i.e icons on buttons and such). How can I include custom art in my editor scripts without having a variable in the inspector which points to a GUISkin? Thanks!
(comments are locked)
|
|
For editor scripts, the code must be in an Editor/ folder, so place your skin in, say, the Editor/Skin folder (you'll need the exact path for the call, below). In your editor script, you can do something like this: Thanks, I didn't thought it was that easy.
Jan 04 '10 at 08:55 PM
TowerOfBricks
You can also procedurally create GUIStyles.
Dec 09 '10 at 05:50 PM
yoyo
A ton of thanks!
Dec 17 '10 at 12:54 AM
Statement ♦♦
(comments are locked)
|
