void OnDestroy() { if (SoundLevels.Exists()) { SoundLevels.Instance.removeMusicCallback(this); } }
public static SoundLevel ToSoundLevel(this SoundLevels value) { return(EnumConverter.ConvertByName <SoundLevel>(value)); }