void Awake() { __sndbnk = this.gameObject.GetComponent<SoundBank>(); if (desiredSoundBank == string.Empty) { Debug.LogError("Soundbank's empty, yo. Ya mean to do that?"); } else { __sndbnk.LoadUp(desiredSoundBank); } }
void Awake() { __sndbnk = this.gameObject.GetComponent <SoundBank>(); if (desiredSoundBank == string.Empty) { Debug.LogError("Soundbank's empty, yo. Ya mean to do that?"); } else { __sndbnk.LoadUp(desiredSoundBank); } }