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