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

파라미터

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