// Update is called once per frame void Update() { if (brickCount == 0 && Ball.transform.position.y <= 0) { BrickPlacer.PlaceBlocks(); } }
public float BrickRatio; //0 - 100; Higher numbers mean more percent blue bricks void Awake() { if (_instance != null && _instance != this) { Destroy(gameObject); } else { _instance = this; DontDestroyOnLoad(gameObject); } }