Exemplo n.º 1
0
 public static void AppleSiliconFixDisabled()
 {
     if (AssetsRefreshTool.SetAppleSiliconFixEnabled(false, false, true))
     {
         UpdateMenu();
     }
 }
Exemplo n.º 2
0
 public static void RefreshOnPlay()
 {
     if (AssetsRefreshTool.SetRefreshOnPlayEnabled(true, false, true))
     {
         UpdateMenu();
     }
 }
Exemplo n.º 3
0
        /*
         * 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);
        }
Exemplo n.º 4
0
 public static bool AppleSiliconFixDisabledValidation()
 {
     return(AssetsRefreshTool.GetAppleSiliconFixEnabled());
 }
Exemplo n.º 5
0
 public static bool RefreshOnPlayValidation()
 {
     return(!AssetsRefreshTool.GetRefreshOnPlayEnabled() && !AssetsRefreshTool.GetAppleSiliconFixEnabled());
 }