none
Shortcut for an empty GUIStyle.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.IMGUIModule
public static GUIStyle none { get; }
Remarks
This style contains no decoration and just renders everything in the default font.
Examples
using UnityEngine;public class Example : MonoBehaviour{ void OnGUI() { // Make a button with no decoration GUI.Button(new Rect(0, 0, 250, 100), "Basic Button", GUIStyle.none); }}