Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

GUIStyleState

Namespace: UnityEngine

Description

Specialized values for the given states used by GUIStyle objects.

The GUIStyle contains all values for displaying GUI elements.

Variables

backgroundThe background image used by GUI elements in this given state.
textColorThe text color used by GUI elements in this state.