Esempio n. 1
0
 private void post_update()
 {
     if (New_System_Sound_Data != null)
     {
         play_system_se(New_System_Sound_Data.Bank, New_System_Sound_Data.Name, New_System_Sound_Data.Priority, New_System_Sound_Data.Pitch);
     }
     New_System_Sound_Data = null;
 }
Esempio n. 2
0
        private void cancel_system_sound()
        {
            if (System_Sound != null)
            {
                System_Sound.Stop();
                System_Sound.Dispose();
                System_Sound        = null;
                System_SFX_Priority = false;

                New_System_Sound_Data = null;
            }
        }
Esempio n. 3
0
 private void prepare_system_se(string bank, string cue_name, bool priority, Maybe <float> pitch = default(Maybe <float>))
 {
     New_System_Sound_Data = new Sound_Name_Data(bank, cue_name, priority, pitch);
 }