Determine whether the click UI
Unity.EventSystems.EventSystem.current.IsPointerOverGameObject()
If you click UI true otherwise False
Determine whether the click UI
Unity.EventSystems.EventSystem.current.IsPointerOverGameObject()
If you click UI true otherwise False