Ejemplo n.º 1
0
        public bool RemoveTriggerAction(AudioClip audioClip, PYAudioTrigger.Trigger trigger)
        {
            if (!audioClip)
            {
                return(false);
            }

            return(RemoveTriggerAction((PYAudioTags)ConvertNameToTag(audioClip.name), trigger));
        }
Ejemplo n.º 2
0
 public bool RemoveTriggerAction(PYAudioTags audioTag, PYAudioTrigger.Trigger trigger)
 {
     if (_audioTriggers.ContainsKey(audioTag))
     {
         return(_audioTriggers[audioTag].Remove(trigger));
     }
     else
     {
         return(false);
     }
 }