Version: 2023.2
언어: 한국어
public GUIStyleState hover ;

설명

Rendering settings for when the mouse is hovering over the control.

using UnityEngine;

public class Example : MonoBehaviour { // Prints the text color that button is using // when the mouse is hovering over a control

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