24 lines
708 B
C#
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);
|
|
}
|
|
}
|
|
} |