Version: 2022.3
public GUIStyleState onNormal ;

描述

控件处于启用状态时的渲染设置。

using UnityEngine;

public class Example : MonoBehaviour { void OnGUI() { GUI.skin.button.onNormal.textColor = Color.red; } }