EditorAssemblyReloadManager.LockReloadAssemblies Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Locks the Editor's ability to reload assemblies.
public:
static property bool LockReloadAssemblies { bool get(); void set(bool value); };
public static bool LockReloadAssemblies { get; set; }
static member LockReloadAssemblies : bool with get, set
Public Shared Property LockReloadAssemblies As Boolean
Property Value
Remarks
This is useful for ensuring async tasks complete in the editor without having to worry if any script changes that happen during the running task will cancel it when the editor re-compiles the assemblies.