Files
plugin-library/Assets/00.StaryEvo/Runtime/Tool/EventKit/Component/OnDeselectUnityEvent.cs
2025-03-31 11:16:52 +08:00

24 lines
708 B
C#

/****************************************************************************
* Copyright (c) 2015 - 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 OnDeselectUnityEvent: MonoBehaviour, IDeselectHandler
{
public UnityEvent<BaseEventData> OnDeselectEvent;
public void OnDeselect(BaseEventData eventData)
{
OnDeselectEvent?.Invoke(eventData);
}
}
}