Example #1
0
        private static void ValidateAll()
        {
            if (!ValidateAllCheck())
            {
                return;
            }

            var validateCoroutine = CoroutineScheduler.Schedule <Dictionary <string, object> >(
                ValidateAsync(
                    progressCallback: ProgressUtils.ShowProgressBar(Resources.UI_UNITYPLUGIN_VALIDATING_ASSETS)
                    )
                );

            validateCoroutine.ContinueWith(ProgressUtils.HideProgressBar);
            FocusConsoleWindow();
        }
Example #2
0
        private static void GenerateCodeAndAssets()
        {
            if (!GenerateCodeAndAssetsCheck())
            {
                return;
            }

            var generateCoroutine = CoroutineScheduler.Schedule
                                    (
                GenerateCodeAndAssetsAsync(
                    progressCallback: ProgressUtils.ShowProgressBar(Resources.UI_UNITYPLUGIN_GENERATING_CODE_AND_ASSETS))
                                    );

            generateCoroutine.ContinueWith(ProgressUtils.HideProgressBar);
            FocusConsoleWindow();
        }