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)); } } }
public void Destroy() { this.AnimationComplete(); ScreenTransition.ForceAlpha(this.animation, 0f); }
public unsafe static long $Invoke4(long instance, long *args) { ScreenTransition.ForceAlpha((Animation)GCHandledObjects.GCHandleToObject(*args), *(float *)(args + 1)); return(-1L); }