void Start() { audio.volume = GlobalFlags.getEffectVolume(); }
public void UpdateVolume() { audio.volume = GlobalFlags.getEffectVolume(); }
// Use this for initialization void Start() { musicVolume = GlobalFlags.getMusicVolume(); effectVolume = GlobalFlags.getEffectVolume(); }