コード例 #1
0
 void Start()
 {
     pollMeteoros_comuns       = new GerenciadorPool(meteoroComum, 6);
     pollMeteoros_hard         = new GerenciadorPool(meteoroHard, 4);
     pollMeteoros_explosivo    = new GerenciadorPool(meteoroExplosivo, 4);
     pollMeteoros_indestruct   = new GerenciadorPool(meteoroIndestruct, 4);
     pollMeteoros_aceleradores = new GerenciadorPool(meteoroFast, 2);
     pollPartMeteoroC          = new GerenciadorParticula(partMeteoroComum, 4);
     pollPartMeteoroE          = new GerenciadorParticula(partExplosao, 3);
     StartCoroutine(StartJogo());
     score = 0;
     //pollMeteoros_comuns.FirstRunSpawn ();
 }
コード例 #2
0
 void Start()
 {
     pollMeteoros_comuns = new GerenciadorPool (meteoroComum, 6);
     pollMeteoros_hard = new GerenciadorPool (meteoroHard, 4);
     pollMeteoros_explosivo = new GerenciadorPool (meteoroExplosivo, 4);
     pollMeteoros_indestruct = new GerenciadorPool (meteoroIndestruct, 4);
     pollMeteoros_aceleradores = new GerenciadorPool (meteoroFast, 2);
     pollPartMeteoroC = new GerenciadorParticula (partMeteoroComum, 4);
     pollPartMeteoroE = new GerenciadorParticula (partExplosao, 3);
     StartCoroutine (StartJogo ());
      score = 0;
     //pollMeteoros_comuns.FirstRunSpawn ();
 }