Legacy Documentation: Version 2018.2 (Go to current version)
LanguageEnglish
  • C#

GUIStyle.focused

Switch to Manual
public GUIStyleState focused;

Description

Rendering settings for when the element has keyboard focus.

using UnityEngine;

public class Example : MonoBehaviour { void OnGUI() { GUI.skin.button.focused.textColor = Color.blue; } }

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