Advertisement
Munchy2007

screenfader9

May 25th, 2016
4,109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.22 KB | None | 0 0
  1.     static void StopActiveFades()
  2.     {
  3.         if(fadeInCR != null)
  4.         {
  5.             instance.StopCoroutine(fadeInCR);
  6.             fadeInCR = null;
  7.         }
  8.  
  9.         if(fadeOutCR != null)
  10.         {
  11.             instance.StopCoroutine(fadeOutCR);
  12.             fadeOutCR = null;
  13.         }
  14.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement