Method GetPrefabs
| Improve this Doc View SourceGetPrefabs()
Get all added CustomPrefabs
Declaration
public static IEnumerable<CustomPrefab> GetPrefabs()
Returns
Type | Description |
---|---|
IEnumerable<CustomPrefab> | An IEnumerable<T> of CustomPrefab from all loaded mods |
GetPrefabs(string)
Get all added CustomPrefabs of a mod by GUID
Declaration
public static IEnumerable<CustomPrefab> GetPrefabs(string modGuid)
Parameters
Type | Name | Description |
---|---|---|
string | modGuid | GUID of the mod |
Returns
Type | Description |
---|---|
IEnumerable<CustomPrefab> | An IEnumerable<T> of CustomPrefab from a specific mod |