Ejemplo n.º 1
0
 void Awake()
 {
     SP = this;
     blocksHit = 0;
     gameState = BreakoutGameState.playing;
     totalBlocks = GameObject.FindGameObjectsWithTag("Pickup").Length;
     Time.timeScale = 1.0f;
     SpawnBall();
 }
Ejemplo n.º 2
0
 void Awake()
 {
     SP             = this;
     blocksHit      = 0;
     gameState      = BreakoutGameState.playing;
     totalBlocks    = GameObject.FindGameObjectsWithTag("Pickup").Length;
     Time.timeScale = 1.0f;
     Invoke("SpawnBall", 1);
 }