摘要: if (Input.GetMouseButtonDown(0) || (Input.touchCount > 0 && Input.GetTouch(0).phase == TouchPhase.Began)) { /* Ray ray = uiCamera.ScreenPointToRay(Inp 阅读全文
posted @ 2022-11-10 19:17 姿态H 阅读(574) 评论(0) 推荐(0) 编辑
摘要: public static bool JudgmentUiInScreen(GameObject obj) { RectTransform rect = obj.GetComponent<RectTransform>(); RectTransform uiRoot = rect.root.GetCo 阅读全文
posted @ 2022-11-10 19:16 姿态H 阅读(744) 评论(0) 推荐(0) 编辑