void OnGUI() { CustomSkin = Resources.Load <GUISkin> ("CustomSkin") as GUISkin; if (CustomSkin != null) { Debug.Log("Not null" + CustomSkin.ToString()); } GUI.skin = CustomSkin; GUILayout.Button("Testing Button Custom Skin"); GUI.skin = null; GUILayout.Button("Default Button"); GUIStyle a = (new GUIStyle("Label")); a.CalcMinMaxWidth(new GUIContent("Player "), out size, out temp); //a.fixedHeight = 250; a.alignment = TextAnchor.MiddleCenter; GUILayout.Label("Test"); GUILayout.Box("BOX", a); OnGUILayoutLabel(); //OnEditorGUILayoutLabel (); GUILayout.BeginVertical("Box"); selGridInt = GUILayout.SelectionGrid(selGridInt, selStrings, 2); if (GUILayout.Button("Start")) { Debug.Log("You chose " + selStrings[selGridInt]); } GUILayout.EndVertical(); }