public GUIStyleState onFocused ;

Description

元素具有键盘焦点并且启用时的渲染设置。

using UnityEngine;

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