public Color textColor ;

설명

The text color used by GUI elements in this state.

using UnityEngine;
using System.Collections;

public class ExampleClass : MonoBehaviour { void OnGUI() { if (GUI.skin.customStyles.Length > 0) GUI.skin.customStyles[0].onActive.textColor = Color.yellow; } }