Пример #1
0
        public override void OnDeselect(BaseEventData eventData)
        {
            base.OnDeselect(eventData);

            OnDeselect_Event?.Invoke();
            // Debug.Log($"{name}: OnDeselect", gameObject);
        }
 private void DeselectEvent()
 {
     OnDeselectEvent?.Invoke();
 }
Пример #3
0
 /// <summary>
 /// On deselect.
 /// </summary>
 /// <param name="eventData">Pointer event data.</param>
 public void OnDeselect(BaseEventData eventData)
 {
     OnDeselectEvent?.Invoke(eventData);
 }