Skip to main content

BodyTypePickup

A class in Root.Township, Alta.Customization.

Customization pickup for a body type, whose animator shows the chosen body type. Client-side character customization.

Constructors​

MemberWhat it is
BodyTypePickup()Unity makes components itself; use AddComponent or spawn a prefab instead of new.

Fields​

1 private and internal field
MemberWhat it is
private Animator animatorAnimator that shows the body type.

Methods​

MemberWhat it is
override CustomizationPickup Spawn(ICustomizationDefinition definition, CustomizationArguments[] arguments, Transform parent)Spawns the pickup and sets its animator's body type from the definition's first visual part.