随笔分类 - Unity
摘要: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
        阅读全文
                
 
                     
                    
                 
                    
                
 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号