Exemplo n.º 1
0
    // 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);
        }
    }
Exemplo n.º 2
0
 private void Awake()
 {
     instance = this;
     miCamara = gameObject.GetComponent <Camera>();
 }