onHover
Rendering settings for when the control is turned on and the mouse is hovering it.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.IMGUIModule
public GUIStyleState onHover { get; set; }
Examples
using UnityEngine;public class Example : MonoBehaviour{ void OnGUI() { GUI.skin.button.onHover.textColor = Color.cyan; }}