新玩法提交

This commit is contained in:
2026-06-23 15:22:15 +08:00
parent e4381d18b5
commit 5d18479a39
128 changed files with 20191 additions and 24 deletions
+2 -2
View File
@@ -27,7 +27,7 @@ public class level1 : MonoBehaviour
// {//iPad机型
// size = 49.9f;
// }
Debug.Log(size+"////////////////");
Debug.Log(size + "////////////////");
orthoCamera.orthographicSize = size;
}
void Start()
@@ -108,7 +108,7 @@ public class level1 : MonoBehaviour
if (Input.GetMouseButtonDown(0))
{
if (Popup == null) Popup = GameObject.Find("Popup");
if (Popup.transform.childCount != 0) return;
if (Popup != null && Popup.transform.childCount != 0) return;
Vector2 mousePos = cam.ScreenToWorldPoint(Input.mousePosition);
RaycastHit2D[] hits = Physics2D.RaycastAll(mousePos, Vector2.zero);