Class CustomVegetation
Main interface for adding custom vegetation to the game.
All custom vegetation have to be wrapped inside this class to add it to Jötunns ZoneManager.
All custom vegetation have to be wrapped inside this class to add it to Jötunns ZoneManager.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Jotunn.Entities
Assembly: Jotunn.dll
Syntax
public class CustomVegetation : CustomEntity
Constructors
| Improve this Doc View SourceCustomVegetation(GameObject, VegetationConfig)
Custom vegetation from a prefab.
Declaration
public CustomVegetation(GameObject prefab, VegetationConfig config)
Parameters
Type | Name | Description |
---|---|---|
GameObject | prefab | The prefab for this custom vegetation. |
VegetationConfig | config | The vegetation config for this custom vegation. |
Properties
| Improve this Doc View SourceName
Name of this custom vegetation
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
System.String |
Prefab
The prefab for this custom vegetation.
Declaration
public GameObject Prefab { get; }
Property Value
Type | Description |
---|---|
GameObject |
Vegetation
Associated component
Declaration
public ZoneSystem.ZoneVegetation Vegetation { get; }
Property Value
Type | Description |
---|---|
ZoneSystem.ZoneVegetation |