|
ResourceName | CreatePrefabChildInAddon (ResourceName prefab, int addon, string fileName=string.Empty) |
| Create a child to the provided Prefab - uses the provided Prefab on error.
|
|
◆ CreatePrefabChildInAddon()
ResourceName SCR_WorldSetupPluginBasePlugin.CreatePrefabChildInAddon |
( |
ResourceName | prefab, |
|
|
int | addon, |
|
|
string | fileName = string::Empty ) |
|
protected |
Create a child to the provided Prefab - uses the provided Prefab on error.
- Parameters
-
[in] | prefab | the Prefab from which to create a child Prefab |
[in] | addon | in which addon to create said child Prefab |
[in] | fileName | if provided, the desired file name (without extension) e.g "My_Prefab" -> "My_Prefab.et" |
- Returns
- the created ResourceName or empty if failed
The documentation for this interface was generated from the following file:
- WorkbenchGame/WorldEditor/WorldSetup/SCR_WorldSetupPluginBase.c