void Start() { audio = audioObject.GetComponent <AudioSource>(); audioManager = FindObjectOfType <AmbientalAudioManager>(); rainControllers[0].Play(); rain = rainObject.GetComponent <ParticleSystem>(); }
private void Start() { audioManager = FindObjectOfType <AmbientalAudioManager>(); audio = AudioSource.GetComponent <AudioSource>(); }