Click or drag to resize
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.Attributes
Assembly: Terrarium.Sdk (in Terrarium.Sdk.dll) Version: 1.1.0.0 (1.1.0.0)
Syntax
public AnimalSkinAttribute(
	AnimalSkinFamily skinFamily,
	string skin
)

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