指针功能完成,齿轮未接入
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user