Legacy Documentation: Version 4.6.2
Language: English
  • C#
  • JS
  • Boo

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

UI.Selectable.OnPointerEnter

Switch to Manual
public function OnPointerEnter(eventData: PointerEventData): void;

Parameters

eventData The EventData usually sent by the EventSystem.

Description

Evaluate current state and transition to appropreate state.

New state could be pressed or hover depending on pressed state.