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

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