ICustomizationHandler
An interface in Root.Township, Alta.Customization.
Something that shows a customised player body, such as a player character or a dummy, and that the customization manager applies outfits to.
- Listed in Customization and screenshots
- Derived types
PlayerCustomizationHandler
Properties
| Member | What it is |
|---|---|
CharacterDummy CharacterDummy { get; } | The character dummy used to show customisation, if any. |
bool HasManager { get; } | Whether a customization manager is set. |
bool IsDestroyed { get; } | Whether the handler has been destroyed. |
bool IsFirstPerson { get; } | Whether it is shown first person (the local player's own body). |
PlayerCharacterCustomizationManager Manager { get; } | The PlayerCharacterCustomizationManager applying customisation to this handler. |
string Name { get; } | A name for logs. |
Transform RootBone { get; } | Root bone of the body's skeleton. |
Methods
| Member | What it is |
|---|---|
void Destroy() | Destroys the handler's visuals. |
Transform GetBone(Transform oldBone, bool isLoggingUnfoundBones) | Finds this body's matching bone for a bone from a customisation prefab, optionally logging when it is missing. |
void SetFirstPerson(bool isFirstPerson) | Switches between first and third person display. |
void SetManager(PlayerCharacterCustomizationManager manager) | Sets the customization manager. |
Used in
Members of other types that take, return or hold a ICustomizationHandler:
CosmeticBodyType.Attach, CosmeticBodyType.ChangeArguments, CosmeticBodyType.Detach, CosmeticEyePart.CreateInput, CosmeticMeshPartBase<T>.Attach, CosmeticMeshPartBase<T>.ChangeArguments, CosmeticMeshPartBase<T>.CreateInput, CosmeticMeshPartBase<T>.Detach, CosmeticSkinColor.Attach, CosmeticSkinColor.ChangeArguments, CosmeticSkinColor.Detach, CustomizationSlot.CustomizationSlot, CustomizationSlot.handlers, CustomizationSlotEntry.Add, CustomizationSlotEntry.ApplyArguments, CustomizationSlotEntry.ModifyDisablers, CustomizationSlotEntry.Remove, CustomizationSlotEntry.UpdateFirstPerson, CustomizationSlotEntry.UpdateImpeded, CustomizationVisualManager.Attach, CustomizationVisualManager.Detach, CustomizationVisualManager.handlers, CustomizationVisualManager.Handlers, CustomizationVisualManager.UpdateFirstPerson, CustomizationVisualPart.Attach, CustomizationVisualPart.ChangeArguments, CustomizationVisualPart.Detach, CustomizationVisualPart.Hide, CustomizationVisualPart.Show, CustomizationVisualPart.UpdateFirstPerson, EquipmentPart.Attach, EquipmentPart.ChangeArguments, EquipmentPart.Detach, ICustomizationPart.ChangeArguments, ICustomizationPart.Hide, ICustomizationPart.Show, ICustomizationPart.UpdateFirstPerson, ICustomizationVisualManager.Attach, ICustomizationVisualManager.Detach, ICustomizationVisualManager.Handlers, ICustomizationVisualManager.UpdateFirstPerson, PlayerCharacterCustomizationManager.Handlers, SkinMeshPart.ChangeArguments, SkinMeshPart.CreateInput.