private void Start() { levelGenerator = GameObject.FindGameObjectWithTag("playLevel").GetComponent <LevelGenerator>(); playLevel = GameObject.FindGameObjectWithTag("playLevel").GetComponent <PlayLevel>(); ballExplode = playLevel.ballExplosion; }
private void Awake() { playLevel = this; }
// Start is called before the first frame update private void Awake() { instance = this; }
private void Awake() { instance = this; animationWait = new WaitForSeconds(1); }