Skip to main content

ICustomizationDefinition

An interface in Root.Township, Alta.Customization.

One cosmetic option for the character customiser: it can be shown on a character, spawned as a pickup for preview and given default arguments.

Properties​

MemberWhat it is
ICustomizationCategory Category { get; set; }The customisation category this option belongs to.
uint Hash { get; }Asset hash identifying the option.
string Name { get; }Option name.
CosmeticPickupType PickupType { get; }What kind of cosmetic pickup represents it.
float UISelectionBoardScale { get; }Scale for the option's preview on the selection board.

Methods​

MemberWhat it is
CustomizationArguments[] CreateDefaultArguments()Creates the default arguments (such as colours) for this option.
ICustomizationVisual GetVisual()Returns the visual used to show this option on a character.
CustomizationPickup SpawnPickup(CustomizationArguments[] arguments, Transform parent)Spawns a pickup for this option with the given arguments under a parent.

Used in​

Members of other types that take, return or hold a ICustomizationDefinition: