public GUIStyleState hover;
Описание
Параметры рендеринга при наведении указателя мыши на элемент управления.
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);
}
}