public static void PlayWaterSound() { WaterSound soundSource = GameObject.FindObjectOfType <WaterSound>(); soundSource.GetComponent <AudioSource>().volume = soundEffectVolume * 0.5f; soundSource.GetComponent <AudioSource>().Play(); }
public SoundStrategy_Water() { this._Sound = WaterSound.GetInstance(); }