Version: 2020.3
public GUIStyleState normal ;

描述

正常显示组件时的渲染设置。

using UnityEngine;

public class Example : MonoBehaviour { // Prints the text color that button is using.

void OnGUI() { Debug.Log(GUI.skin.button.normal.textColor); } }