Ejemplo n.º 1
0
 public void OnDestroy()
 {
     if (!nowait)
     {
         lipSync.Stop(true);
     }
 }
        public static void Stop(Char speaker)
        {
            if (speaker == null)
            {
                return;
            }

                        #if RogoLipSyncIsPresent
            LipSync lipSync = speaker.GetComponentInChildren <LipSync>();
            if (lipSync != null && lipSync.enabled)
            {
                lipSync.Stop(true);
            }
                        #endif
        }