public static void SetSkipMainStep(int skipCntMainStep) { TsLog.Assert(0 <= skipCntMainStep && skipCntMainStep < 5, "Invalid Progress Skip Count", new object[0]); NrLoadPageScreen._mainStepMax = skipCntMainStep; NrLoadPageScreen._mainStepCnt = 0; if (skipCntMainStep == 0) { NrLoadPageScreen._mainStepRatio = 1f; } else { NrLoadPageScreen._mainStepRatio = 1f / (float)NrLoadPageScreen._mainStepMax; } NrLoadPageScreen.ResetProgress(1f); }