예제 #1
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);
        }
예제 #2
0
 public static bool RefreshOnPlayValidation()
 {
     return(!AssetsRefreshTool.GetRefreshOnPlayEnabled() && !AssetsRefreshTool.GetAppleSiliconFixEnabled());
 }