11 2022 档案

摘要: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 阅读(616) 评论(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 阅读(851) 评论(0) 推荐(0)