点击UI不触发事件

This commit is contained in:
丛刚 2025-02-11 17:13:09 +08:00
parent 43b35ad622
commit 14e1b18773

View File

@ -152,6 +152,8 @@ namespace ZXK.LouDiXvMuNiu
}
}
if(UnityEngine.EventSystems.EventSystem.current.IsPointerOverGameObject())return;
if (_CurSceneStep.TaskType.Equals(ConstCtrl.TASKTYPE_Anim))
{//timeline¶¯»­
if (Input.GetMouseButtonDown(0) && Physics.Raycast(ray, out rayHit, Mathf.Infinity) && !_IsPlayAnm)