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