public GUIStyleState onActive ;

설명

Rendering settings for when the element is turned on and pressed down.

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; } }