鼠标指针问题修复
This commit is contained in:
@@ -69,13 +69,10 @@ namespace AibisDream.Framework
|
||||
{
|
||||
if (holdingObjList.Count > 0 || draggingObjList.Count > 0)
|
||||
{
|
||||
Debug.Log($"Dragging: {draggingObjList.Count}");
|
||||
Debug.Log($"Holding: {holdingObjList.Count}");
|
||||
return TriggerEnum.Dragging;
|
||||
}
|
||||
else if (pointerOverObjList.Count > 0)
|
||||
{
|
||||
Debug.Log($"PointerOver: {pointerOverObjList.Count}");
|
||||
return TriggerEnum.PointerOver;
|
||||
}
|
||||
else
|
||||
|
||||
@@ -117,6 +117,7 @@ namespace AibisDream.Framework
|
||||
|
||||
public override void OnBeginDrag(PointerEventData eventData)
|
||||
{
|
||||
EventSystemEx.Instance.OnEndDrag(_interaction);
|
||||
base.OnBeginDrag(eventData);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user