예제 #1
0
 public void Pause()
 {
     foreach (var CueSource in CueSources)
     {
         if (CueSource != null)
         {
             CueSource.Pause();
         }
     }
 }
예제 #2
0
    public void Pause(GameObject instigator = null)
    {
        foreach (var CueSource in CueSources)
        {
            if (CueSource != null)
            {
                CueSource.Pause();
            }
        }

        foreach (var source in PauseManagedSources)
        {
            if (source != null)
            {
                source.Pause();
            }
        }
    }