Esempio n. 1
0
 protected void CleanupScreenTransition(bool visible)
 {
     if (!this.WantTransitions)
     {
         Animation component = base.Root.GetComponent <Animation>();
         if (component != null)
         {
             if (component.isPlaying)
             {
                 component.Stop();
             }
             ScreenTransition.ForceAlpha(component, (float)((!visible) ? 0 : 1));
         }
     }
 }
Esempio n. 2
0
 public void Destroy()
 {
     this.AnimationComplete();
     ScreenTransition.ForceAlpha(this.animation, 0f);
 }
Esempio n. 3
0
 public unsafe static long $Invoke4(long instance, long *args)
 {
     ScreenTransition.ForceAlpha((Animation)GCHandledObjects.GCHandleToObject(*args), *(float *)(args + 1));
     return(-1L);
 }