Navigation
API > API/Runtime > API/Runtime/Projects > API/Runtime/Projects/Interfaces > API/Runtime/Projects/Interfaces/IProjectManager
References
| Module | Projects |
| Header | /Engine/Source/Runtime/Projects/Public/Interfaces/IProjectManager.h |
| Include | #include "Interfaces/IProjectManager.h" |
bool SetPluginEnabled
&40;
const FString & PluginName,
bool bEnabled,
FText & OutFailReason
&41;
Remarks
Sets whether a plugin is enabled for the current project configuration. Potentially updates the current project descriptor, but does not save to disk and may require restarting to load it.
Use IsCurrentProjectDirty() to tell whether the project was actually modified. False on failure to update the current project descriptor.
Parameters
| Name | Description |
|---|---|
| PluginName | Name of the plugin |
| bEnabled | Whether to enable or disable the plugin |
| OutFailReason | On failure, gives an error message |