# GUIStyleState

> Specialized values for the given states used by GUIStyle objects.

## Definition

* **Type:** Class
* **Namespace:** [UnityEngine](/engine/6000.0/script-reference/unityengine.md)
* **Assembly:** UnityEngine.IMGUIModule

```csharp
public sealed class GUIStyleState
```

## Remarks

The GUIStyle contains all values for displaying GUI elements.

## Properties

| Property                                                                                            | Description                                                                                                                                                                                                                                                                                                                                                                                    |
| --------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [background](/engine/6000.0/script-reference/unityengine/guistylestate/background.md)               | The background image used by GUI elements in this given state.                                                                                                                                                                                                                                                                                                                                 |
| [scaledBackgrounds](/engine/6000.0/script-reference/unityengine/guistylestate/scaledbackgrounds.md) | Background images used by this state when on a high-resolution screen. It should either be left empty, or contain a single image that is exactly twice the resolution of [GUIStyleState.background](/engine/6000.0/script-reference/unityengine/guistylestate/background.md). This is only used by the editor. The field is not copied to player data, and is not accessible from player code. |
| [textColor](/engine/6000.0/script-reference/unityengine/guistylestate/textcolor.md)                 | The text color used by GUI elements in this state.                                                                                                                                                                                                                                                                                                                                             |
