Version: 2018.2
public GUIStyleState onActive ;

説明

要素がオンになり、押されたときのレンダリング設定

using UnityEngine;

public class Example : MonoBehaviour { // Sets the text color of button to yellow when an // element is turned on and pressed down. void OnGUI() { GUI.skin.button.onActive.textColor = Color.yellow; } }