Version: 2017.1
public GUIStyleState focused ;

描述

元素具有键盘焦点时的渲染设置。

using UnityEngine;
using System.Collections;

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