AnimalSkinAttribute Constructor (AnimalSkinFamily, 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 AnimalSkinAttribute(
AnimalSkinFamily skinFamily,
string skin
)
Public Sub New (
skinFamily As AnimalSkinFamily,
skin As String
)
public:
AnimalSkinAttribute(
AnimalSkinFamily skinFamily,
String^ skin
)
new :
skinFamily : AnimalSkinFamily *
skin : string -> AnimalSkinAttribute
Parameters
- skinFamily
- Type: Terrarium.Sdk.EnumerationsAnimalSkinFamily
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