public static void AppleSiliconFixDisabled() { if (AssetsRefreshTool.SetAppleSiliconFixEnabled(false, false, true)) { UpdateMenu(); } }
public static void RefreshOnPlay() { if (AssetsRefreshTool.SetRefreshOnPlayEnabled(true, false, true)) { UpdateMenu(); } }
/* * Private. */ private static void UpdateMenu() { var enabled = AssetsRefreshTool.GetRefreshOnPlayEnabled(); Menu.SetChecked(AutoRefreshEnabledMenuItem, !enabled); Menu.SetChecked(RefreshOnPlayMenuItem, enabled); enabled = AssetsRefreshTool.GetAppleSiliconFixEnabled(); Menu.SetChecked(AppleSiliconFixEnabledMenuItem, enabled); Menu.SetChecked(AppleSiliconFixDisabledMenuItem, !enabled); }
public static bool AppleSiliconFixDisabledValidation() { return(AssetsRefreshTool.GetAppleSiliconFixEnabled()); }
public static bool RefreshOnPlayValidation() { return(!AssetsRefreshTool.GetRefreshOnPlayEnabled() && !AssetsRefreshTool.GetAppleSiliconFixEnabled()); }