bool Building { get; set; }

robot_2Generated
code_blocksInput

Description

The Building property indicates whether the current addon is still in the process of being built. It returns a Boolean value, where true signifies that the build process is ongoing, and false indicates that the build has completed.

Usage

Use the Building property to check the build status of an addon. This can be particularly useful for determining if certain operations should be delayed until the build process is complete.

Example

// Example of checking if the addon is still building
Sandbox.Compiler compiler = new Sandbox.Compiler();

if (compiler.Building)
{
    // The addon is still building
    // Perform actions that should occur during the build process
}
else
{
    // The build process is complete
    // Proceed with actions that require the build to be finished
}