框架上传
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
/****************************************************************************
|
||||
* 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user