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