Module |
|
Header |
/Engine/Plugins/Developer/PluginUtils/Source/PluginUtils/Public/PluginUtils.h |
Include |
#include "PluginUtils.h" |
Source |
/Engine/Plugins/Developer/PluginUtils/Source/PluginUtils/Private/PluginUtils.cpp |
static TSharedPtr< IPlugin > CreateAndMountNewPlugin
(
const FString & PluginName,
const FString & PluginLocation,
const FNewPluginParams & CreationParams,
const FMountPluginParams & MountParams,
FText & FailReason
)
Helper to create and mount a new plugin.
The newly created plugin. If something goes wrong during the creation process, the plugin folder gets deleted and null is returned. @note Will fail if the plugin already exists
Parameter |
Description |
---|---|
PluginName |
Plugin name |
PluginLocation |
Directory that contains the plugin folder |
CreationParams |
Plugin creation parameters |
MountParams |
Plugin mounting parameters |
FailReason |
Reason the plugin creation/mount failed |