Files
plugin-library/Assets/00.StaryEvo/Runtime/Tool/EventKit/Component/OnSelectUnityEvent.cs

24 lines
698 B
C#
Raw Normal View History

2025-03-31 11:16:52 +08:00
/****************************************************************************
* 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);
}
}
}