Show / Hide Table of Contents

Class ImageHoverColorChange

Colors the referenced image using the provided hover color when the user's pointer enters this component, and reset's the color as well on user's pointer exit.

Inheritance
System.Object
UnityEngine.Object
UnityEngine.Component
UnityEngine.Behaviour
UnityEngine.MonoBehaviour
ImageHoverColorChange
Namespace: AdrianMiasik.Components.Core
Assembly: Assembly-CSharp.dll
Syntax
public class ImageHoverColorChange : MonoBehaviour, IPointerEnterHandler, IPointerExitHandler, IEventSystemHandler

Methods

| Improve this Doc View Source

OnPointerEnter(PointerEventData)

Declaration
public void OnPointerEnter(PointerEventData eventData)
Parameters
Type Name Description
UnityEngine.EventSystems.PointerEventData eventData
| Improve this Doc View Source

OnPointerExit(PointerEventData)

Declaration
public void OnPointerExit(PointerEventData eventData)
Parameters
Type Name Description
UnityEngine.EventSystems.PointerEventData eventData
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX