using System.Collections; using System.Collections.Generic; using UnityEngine; public class UnderstandingScreenSpace : MonoBehaviour { // Start is called before the first frame update void Start() { Debug.Log("Screen width is " + Screen.width + " pixels"); Debug.Log("Screen height is " + Screen.height + " pixels"); Debug.Log("Starting Mouse Position: " + Input.mousePosition); } // Update is called once per frame void Update() { if(Input.GetMouseButtonDown(0)) Debug.Log("(" + Input.mousePosition.x + "," + Input.mousePosition.y + ")"); } }