Exemplo n.º 1
0
 public static void AnimFadeOut(this SurfaceObject self, bool fullremoval = true)
 {
     Animation.Animator.FadeOut(self,
                                (s, e) => {
         if (fullremoval)
         {
             self.RemoveFromSurface();
         }
         else
         {
             self.Hide(true);
         }
     });
 }