Method GetVegetation
| Edit this page View SourceGetVegetation()
Get all added CustomVegetations
Declaration
public static IEnumerable<CustomVegetation> GetVegetation()
Returns
| Type | Description |
|---|---|
| IEnumerable<CustomVegetation> | An IEnumerable<T> of CustomVegetation from all loaded mods |
GetVegetation(string)
Get all added CustomVegetations of a mod by GUID
Declaration
public static IEnumerable<CustomVegetation> GetVegetation(string modGuid)
Parameters
| Type | Name | Description |
|---|---|---|
| string | modGuid | GUID of the mod |
Returns
| Type | Description |
|---|---|
| IEnumerable<CustomVegetation> | An IEnumerable<T> of CustomVegetation from a specific mod |