So I tried doing this:
Resources.Load(“myGUI”);
and it says that GUIStyle cannot be loaded.
Is there a way to load GUIStyles from the Resources folder?
So I tried doing this:
Resources.Load(“myGUI”);
and it says that GUIStyle cannot be loaded.
Is there a way to load GUIStyles from the Resources folder?
I think you want to load a GUISkin instead, right?
var mySkin = Resources.Load(“MyGuiSkin”) as GUISkin
And to get your GUIStyle from that, use mySkin.GetStyle(), or one of the premade ones like .button or .box