// Start is called before the first frame update // Update is called once per frame private void Update() { if (Input.GetKeyDown(KeyCode.Space)) { PantallazoHandler.TomarPantallazo_Static(Screen.width, Screen.height); } }
private void Awake() { instance = this; miCamara = gameObject.GetComponent <Camera>(); }