public static void Pause(MixStage stage) { switch (stage) { case MixStage.Global: Global.Stop(); break; case MixStage.AddDefaultCompositions: AddDefaultCompositions.Stop(); break; case MixStage.CreateReferencesStructures: CreateReferencesStructures.Stop(); break; case MixStage.RegenKeys: RegenKeys.Stop(); break; case MixStage.BuildMixinInheritance: BuildMixinInheritance.Stop(); break; case MixStage.ComputeMixinOccurence: ComputeMixinOccurence.Stop(); break; case MixStage.BuildStageInheritance: BuildStageInheritance.Stop(); break; case MixStage.LinkVariables: LinkVariables.Stop(); break; case MixStage.ProcessExterns: ProcessExterns.Stop(); break; case MixStage.PatchAllMethodInferences: PatchAllMethodInferences.Stop(); break; case MixStage.MergeReferences: MergeReferences.Stop(); break; case MixStage.RenameAllVariables: RenameAllVariables.Stop(); break; case MixStage.RenameAllMethods: RenameAllMethods.Stop(); break; case MixStage.GenerateShader: GenerateShader.Stop(); break; } }
public static void Pause(MixStage stage) { switch (stage) { case MixStage.Global: Global.Stop(); break; case MixStage.AddDefaultCompositions: AddDefaultCompositions.Stop(); break; case MixStage.CreateReferencesStructures: CreateReferencesStructures.Stop(); break; case MixStage.RegenKeys: RegenKeys.Stop(); break; case MixStage.BuildMixinInheritance: BuildMixinInheritance.Stop(); break; case MixStage.ComputeMixinOccurrence: ComputeMixinOccurrence.Stop(); break; case MixStage.BuildStageInheritance: BuildStageInheritance.Stop(); break; case MixStage.LinkVariables: LinkVariables.Stop(); break; case MixStage.ProcessExterns: ProcessExterns.Stop(); break; case MixStage.PatchAllMethodInferences: PatchAllMethodInferences.Stop(); break; case MixStage.MergeReferences: MergeReferences.Stop(); break; case MixStage.RenameAllVariables: RenameAllVariables.Stop(); break; case MixStage.RenameAllMethods: RenameAllMethods.Stop(); break; case MixStage.GenerateShader: GenerateShader.Stop(); break; } }