摘要:
if (Input.GetMouseButtonDown(0) || (Input.touchCount > 0 && Input.GetTouch(0).phase == TouchPhase.Began)) { /* Ray ray = uiCamera.ScreenPointToRay(Inp 阅读全文
摘要:
public static bool JudgmentUiInScreen(GameObject obj) { RectTransform rect = obj.GetComponent<RectTransform>(); RectTransform uiRoot = rect.root.GetCo 阅读全文