internal static void RemoveShim(ScreenShimBase shim) { if (s_ActiveScreenShim == shim) { s_ActiveScreenShim = null; ActiveShimChanged?.Invoke(); } }
internal static void RemoveShim(ScreenShimBase shim) { if (s_ActiveScreenShim.Contains(shim)) { s_ActiveScreenShim.Remove(shim); ActiveShimChanged?.Invoke(); } }
internal static void UseShim(ScreenShimBase shim) { ShimManager.s_ActiveScreenShim = shim; Action expr_0C = ShimManager.ActiveShimChanged; if (expr_0C != null) { expr_0C(); } }
internal static void UseShim(ScreenShimBase shim) { if (s_ActiveScreenShim.Last() == shim) { return; } RemoveShim(shim); s_ActiveScreenShim.Add(shim); ActiveShimChanged?.Invoke(); }
internal static void RemoveShim(ScreenShimBase shim) { bool flag = ShimManager.s_ActiveScreenShim == shim; if (flag) { ShimManager.s_ActiveScreenShim = null; Action expr_19 = ShimManager.ActiveShimChanged; if (expr_19 != null) { expr_19(); } } }
internal static bool IsShimActive(ScreenShimBase shim) { return(s_ActiveScreenShim == shim); }
internal static void UseShim(ScreenShimBase shim) { s_ActiveScreenShim = shim; ActiveShimChanged?.Invoke(); }