PlantSkinAttribute Constructor (PlantSkinFamily, String) |
Use this overload if you want to specify a custom skin, and specify the
family it belongs to so that something reasonable gets displayed if the skin
can't be loaded.
Namespace: Terrarium.Sdk.Classes.Creature.AttributesAssembly: Terrarium.Sdk (in Terrarium.Sdk.dll) Version: 1.1.0.0 (1.1.0.0)
Syntaxpublic PlantSkinAttribute(
PlantSkinFamily skinFamily,
string skin
)
Public Sub New (
skinFamily As PlantSkinFamily,
skin As String
)
public:
PlantSkinAttribute(
PlantSkinFamily skinFamily,
String^ skin
)
new :
skinFamily : PlantSkinFamily *
skin : string -> PlantSkinAttribute
Parameters
- skinFamily
- Type: Terrarium.Sdk.EnumerationsPlantSkinFamily
An AnimalSkinFamily value that specifies the skin to use for this organism if the custom one can't be loaded. - skin
- Type: SystemString
The name of the assembly the contains the skin you want to use.
See Also