Beispiel #1
0
 // Initialization
 void Start()
 {
     timer       = velocidade;
     audioSource = GetComponent <AudioSource>();
     gManager    = GameObject.FindObjectOfType <gameManager>();
     gSpawner    = GameObject.FindObjectOfType <spawnTetro>();
 }
Beispiel #2
0
    void Start()
    {
        timer = velocidade;

        gManager = GameObject.FindObjectOfType <gameManager>();
        gSpawner = GameObject.FindObjectOfType <spawnTetro>();
    }