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 SourceOnPointerEnter(PointerEventData)
Declaration
public void OnPointerEnter(PointerEventData eventData)
Parameters
Type | Name | Description |
---|---|---|
UnityEngine.EventSystems.PointerEventData | eventData |
OnPointerExit(PointerEventData)
Declaration
public void OnPointerExit(PointerEventData eventData)
Parameters
Type | Name | Description |
---|---|---|
UnityEngine.EventSystems.PointerEventData | eventData |