Merge branch 'master' into LouDi_Quan

This commit is contained in:
shenjianxing 2025-02-26 14:31:43 +08:00
commit 0b70903292

View File

@ -56,11 +56,6 @@ namespace QFramework
RaycastHit hit;
if (Physics.Raycast(ray, out hit))
{
if (hit.collider.gameObject.layer == LayerMask.GetMask("Ignore"))
{
Debug.LogError("点击了忽略的物体" + hit.collider.gameObject.name);
return false;
}
if (isRight)
{
return obj == hit.collider.gameObject;