void Awake() { _audioSrc = GetComponent <AudioSource>(); soundIcons = GetComponentInChildren <SoundIcons>(); filterLowPass = GetComponent <AudioLowPassFilter>(); filterHighPass = GetComponent <AudioHighPassFilter>(); filterDistortion = GetComponent <AudioDistortionFilter>(); filterPhaser = GetComponent <AudioPhaser>(); filterLowPass.enabled = false; filterHighPass.enabled = false; filterDistortion.enabled = false; filterPhaser.setEnabled(false); markerTrigger.triggerDelegate = this; }
// ----------------------------------- void Awake() { _audioSrc = GetComponent <AudioSource>(); soundIcons = GetComponentInChildren <SoundIcons>(); followCameraYPos = GetComponent <FollowMainCameraYPosition>(); resonance = GetComponent <ResonanceAudioSource>(); filterLowPass = GetComponent <AudioLowPassFilter>(); filterHighPass = GetComponent <AudioHighPassFilter>(); filterDistortion = GetComponent <AudioDistortionFilter>(); filterEcho = GetComponent <AudioEchoFilter>(); filterPhaser = GetComponent <AudioPhaser>(); filterLowPass.enabled = false; filterHighPass.enabled = false; filterDistortion.enabled = false; filterEcho.enabled = false; filterPhaser.setEnabled(false); followCameraYPos.enabled = false; markerTrigger.triggerDelegate = this; }