This commit is contained in:
2025-02-12 15:12:00 +08:00
parent 51460d405a
commit 94e01a9baa
33 changed files with 3426 additions and 618 deletions
@@ -5,6 +5,12 @@ namespace AibisDream.Framework
{
public class EventSystemEx : SingletonBase<EventSystemEx>
{
#region
public bool isLocked;
#endregion
public GameObject pointerOverObj;
public GameObject draggingObj;
public GameObject holdingObj;
@@ -41,6 +47,16 @@ namespace AibisDream.Framework
}
}
#endregion
#region
public override void OnSingletonInit()
{
EnumEventSystem.Global.Register(EventEnum.OpenScreen, () => isLocked = true);
EnumEventSystem.Global.Register(EventEnum.CloseScreen, () => isLocked = false);
}
#endregion
#region
@@ -48,10 +64,6 @@ namespace AibisDream.Framework
private EventSystemEx()
{
}
public override void OnSingletonInit()
{
}
#endregion
}