ugui 点击在ui和非ui的判断

if (Input.GetMouseButtonDown (0) || (Input.touchCount > 0 && Input.GetTouch (0).phase == TouchPhase.Began)) { #if UNITY_IPHONE || UNITY_IOS if (EventSystem.current.IsPointerOverGameObject (Input.Ge
相关文章
相关标签/搜索