예제 #1
0
 void FadeOutMusic(string n)
 {
     Fabric.Component component = Fabric.FabricManager.Instance.GetComponentByName(n);
     if (component != null)
     {
         component.FadeOut(0.1f, 0.5f);
     }
 }
 public void FadeOutComponent(string destinationComponent, float targetMS, float curve)
 {
     if (_globalComponentTable.ContainsKey(destinationComponent))
     {
         Fabric.Component component = _globalComponentTable[destinationComponent];
         component.FadeOut(targetMS, curve);
     }
 }