Method CreateClonedLocation
| Improve this Doc View SourceCreateClonedLocation(string, string)
Create a CustomLocation that is a deep copy of the original.
Changes will not affect the original. The CustomLocation is already registered in the manager.
Changes will not affect the original. The CustomLocation is already registered in the manager.
Declaration
public CustomLocation CreateClonedLocation(string name, string baseName)
Parameters
Type | Name | Description |
---|---|---|
string | name | name of the custom location |
string | baseName | name of the existing location to copy |
Returns
Type | Description |
---|---|
CustomLocation | A CustomLocation object with the cloned location prefab |