// Use this for initialization void Start() { IsBreakable = (this.tag == "Breakable"); if (IsBreakable) { totalBricks++; } timesHit = 0; levelManager = GameObject.FindObjectOfType <LevelToggler> (); }
void Start() { levelManager = GameObject.FindObjectOfType <LevelToggler> (); }