Beispiel #1
0
    public static int worldMask; //world limit bit shift mask

    #endregion Fields

    #region Methods

    //reset static variables for a new game so they don't get cached on scene change
    public static void Reset()
    {
        selection = null;
        control = null;
        showUpgrade = false;
        showExit = false;
    }
Beispiel #2
0
 //reset static variables for a new game so they don't get cached on scene change
 public static void Reset()
 {
     selection        = null;
     gridSelection    = null;
     powerUpIndicator = null;
     control          = null;
     showUpgrade      = false;
     showExit         = false;
 }
Beispiel #3
0
 // 手动设置,在Tween完毕的时候Dective
 protected void OnTweenComplete()
 {
     if (SelfControl != null)
     {
         if (!SelfControl.IsShow)
         {
             OnFadeOut?.Invoke();
             if (SelfControl.IsActiveByShow)
             {
                 SelfControl.SetActive(false);
             }
         }
         else
         {
             OnFadeIn?.Invoke();
         }
     }
     IsComplete = true;
 }