指针功能完成,齿轮未接入

This commit is contained in:
2025-01-16 22:20:04 +08:00
parent b80d78ad23
commit 74025f3d5b
11 changed files with 123 additions and 398 deletions
@@ -19,9 +19,9 @@ namespace AibisDream.Framework
public void OnPointerExit(GameObject gameObject)
{
EnumEventSystem.Global.Send(TriggerEnum.PointerExit, gameObject);
if (pointerOverObj == gameObject)
{
EnumEventSystem.Global.Send(TriggerEnum.PointerExit, gameObject);
pointerOverObj = null;
}
}
@@ -34,9 +34,9 @@ namespace AibisDream.Framework
public void OnPointerUp(GameObject gameObject)
{
EnumEventSystem.Global.Send(TriggerEnum.PointerUp, gameObject);
if (holdingObj == gameObject)
{
EnumEventSystem.Global.Send(TriggerEnum.PointerUp, gameObject);
holdingObj = null;
}
}