private void Start() { audio = GetComponent <AudioSource>(); gameManager = Object.FindObjectOfType <GameManager>(); congaLine = Object.FindObjectOfType <CongaLineController>(); animalSpawner = Object.FindObjectOfType <AnimalSpawner>(); alltimeVariables = Object.FindObjectOfType <AlltimeVariables>(); }
// Start is called before the first frame update void Start() { audio = GetComponent <AudioSource>(); animalSpawner = Object.FindObjectOfType <AnimalSpawner>(); congaLine = Object.FindObjectOfType <CongaLineController>(); }
// Start is called before the first frame update void Start() { instance = this; counter = 0; }
// Start is called before the first frame update void Start() { congaLine = Object.FindObjectOfType <CongaLineController>(); }