/****************************************************************************
 * Copyright (c) 2016 - 2024 liangxiegame UNDER MIT License
 *
 * https://qStary.Evo.cn
 * https://github.com/liangxiegame/QFramework
 * https://gitee.com/liangxiegame/QFramework
 ****************************************************************************/

using UnityEngine;
using UnityEngine.Events;
using UnityEngine.EventSystems;

namespace Stary.Evo
{
    public class OnSelectUnityEvent : MonoBehaviour, ISelectHandler
    {
        public UnityEvent<BaseEventData> OnSelectEvent;

        public void OnSelect(BaseEventData eventData)
        {
            OnSelectEvent?.Invoke(eventData);
        }
    }
}