Version: 2019.1
public GUIStyleState onActive ;

Description

Настройки отображения для нажатого элемента.

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