Description
The AllowFastHotload
property of the CompileGroup
class indicates whether fast hotloading is enabled for this compile group. Fast hotloading allows for quicker updates and changes to be applied without a full rebuild, which can be beneficial during development for rapid iteration.
Usage
To use the AllowFastHotload
property, simply access it from an instance of the CompileGroup
class. You can get or set this property to control whether fast hotloading is enabled.
Example
// Example of accessing the AllowFastHotload property
CompileGroup compileGroup = new CompileGroup();
// Enable fast hotloading
compileGroup.AllowFastHotload = true;
// Check if fast hotloading is enabled
bool isFastHotloadEnabled = compileGroup.AllowFastHotload;
// Output the status
// Note: Avoid using Console.WriteLine in Sandbox
// Instead, use logging or other appropriate methods
Log.Info($"Fast Hotload Enabled: {isFastHotloadEnabled}");