Version: 2017.2
public GUIStyleState onActive ;

描述

启用和按下元素时的渲染设置。

using UnityEngine;
using System.Collections;

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