CompilationPipeline.RequestScriptCompilation

public static void RequestScriptCompilation();

Description

Use this function to make the Unity Editor recompile every Script in your Project asynchronously. When the compilation finishes, the Unity Editor then loads the compiled assemblies.

Did you find this page useful? Please give it a rating: