The CompileGroup class in the Sandbox namespace is responsible for managing a group of compilers. It provides methods to create, manage, and build compilers, as well as properties to monitor the build process and results.
The CompileGroup class in the Sandbox namespace is responsible for managing a group of compilers. It provides methods to create, manage, and build compilers, as well as properties to monitor the build process and results.
Member Name | Summary |
---|---|
SuppressBuildNotifications | Build notifications start suppressed until after startup to prevent multiple notifications on startup. |
Member Name | Summary |
---|---|
Dispose | Shut everything down. |
CreateCompiler | Creates a new compiler with the specified name, path, and settings. |
GetOrCreateCompiler | Gets an existing compiler by name or creates a new one if it doesn't exist. |
BuildAsync | Build the compilers asynchronously. |
AddAssembly | Adds an assembly to the compile group. |
RemoveAssembly | Removes an assembly from the compile group. |
Reset | Reset the compile group, clearing errors and outputs. |
WaitForCompile | Waits for the compile process to complete. |
Compilers | The compilers within the group. |
Name | The name of this compile group, for debugging/display purposes. |
NeedsBuild | Returns true if there are compiles pending. |
IsBuilding | Returns true if currently in the process of building. |
PrintErrorsInConsole | True if errors should be printed in the console when compiling. |
AllowFastHotload | True if fast hotloading is enabled for this compile group. |
BuildResult | Returns true if the build was successful. |
OnCompileStarted | Called when compiling starts. |
OnCompileFinished | Called when compiling ends. |
OnCompileSuccess | Called when a compile completes successfully. Access the result from BuildResult. |