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; }
//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; }
// 手动设置,在Tween完毕的时候Dective protected void OnTweenComplete() { if (SelfControl != null) { if (!SelfControl.IsShow) { OnFadeOut?.Invoke(); if (SelfControl.IsActiveByShow) { SelfControl.SetActive(false); } } else { OnFadeIn?.Invoke(); } } IsComplete = true; }