public void OnUpdateSelected (EventSystems.BaseEventData eventData);

파라미터

eventDataCurrent event data.

설명

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."); } }