public PlayAudioClip(AudioSettings clip, GlobalAudioController.AudioClipInfoCallback call, float volume = -1.0f, float rate = 2, float delay = 0.05f, bool loop = false)
 {
     AudioObject  = clip;
     InfoCallback = call;
     FadeRate     = rate;
     FadeDelay    = delay;
     Volume       = volume;
     Loop         = loop;
 }
Exemplo n.º 2
0
 public PlayOneshotClipEvent(AudioSettings clip, GlobalAudioController.AudioClipInfoCallback call, float volume = -1.0f, float rate = 2, float delay = 0.05f, bool loop = false) : base(clip, call, volume, rate, delay, loop)
 {
 }