Files
aibis-dream/Assets/Scripts/Framework/OtherKit/EventSystemEx.cs
T
2025-01-16 11:37:14 +08:00

30 lines
557 B
C#

using System;
using UnityEngine;
using UnityEngine.EventSystems;
namespace AibisDream.Framework
{
[RequireComponent(typeof(EventSystem))]
public class EventSystemExtension : MonoBehaviour
{
public string targetTag;
#region 物体索引
private GameObject _lastObject;
#endregion
public void LateUpdate()
{
// if ()
// {
//
// }
var curGameObject = EventSystem.current.currentSelectedGameObject;
}
}
}