Version: 2019.1
public void OnUpdateSelected (EventSystems.BaseEventData eventData);

Parameters

eventData@param eventData Текущие данные события.

Description

Called by the EventSystem when the object associated with this EventTrigger is updated.

using UnityEngine;
using UnityEngine.EventSystems;

public class UpdateSelectedExample : MonoBehaviour, IUpdateSelectedHandler { public void OnUpdateSelected(BaseEventData data) { Debug.Log("OnUpdateSelected called."); } }