Versions with this page:
Versions without this page:
Style used by default for GUI.Button controls.
using UnityEngine; using System.Collections;public class ExampleClass : MonoBehaviour { public GUIStyle style; void OnGUI() { GUI.skin.button = style; GUILayout.Button("This is a button."); } }