Version: 2019.1 (switch to 2018.3 or 2017.4)
LanguageEnglish
  • C#

GUIContent.none

public static GUIContent none;

Description

Shorthand for empty content.

using UnityEngine;

public class ExampleScript : MonoBehaviour { void OnGUI() { GUI.Button(new Rect(0, 0, 100, 20), GUIContent.none); } }

Did you find this page useful? Please give it a rating: