unity是否点击到UI

EventSystem.current.IsPointerOverGameObject()返回的是bool值

你可能感兴趣的:(unity是否点击到UI)