기술 자료

Unity Engine

Unity Engine

none

Shortcut for an empty GUIStyle.
읽는 시간 1분최근 업데이트: 한 달 전

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); }}