框架上传
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
/****************************************************************************
|
||||
* 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 5edff8e50ab84809afe6b9894eef68ab
|
||||
timeCreated: 1710224509
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: b73c32a61ddd4b469f20ad0f287b2a9e
|
||||
timeCreated: 1710224585
|
||||
Reference in New Issue
Block a user