Прочетете на английски Редактиране

Споделяне чрез


EditorAssemblyReloadManager.LockReloadAssemblies Property

Definition

Locks the Editor's ability to reload assemblies.

C++
public:
 static property bool LockReloadAssemblies { bool get(); void set(bool value); };

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.

Applies to

Продукт Версии
MRTK2 Unity 2018 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0
MRTK2 Unity 2019 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0
MRTK2 Unity 2020 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0