Skip to main content

Dressup

Show Dressup Interface

This command launches the interactive dress-up interface, allowing the player to customize a character's appearance using available assets defined in Unity.

Prerequisite

Before using this command, ensure the character is properly set up with the necessary customization data. Please refer to the Character With Dressup documentation. Calling this command on an unconfigured character may result in errors.

Syntax:

<<dressup "[CharacterName]" "[Category]">>

Parameters:

ParameterTypeOptionsDescription
CharacterNametextany valid character NameThe specific character you want the player to customize.
CategorytextAll, Hair, OutfitDetermines which customization slots are unlocked for the player.

Category Details:

  • All: Displays all available categories defined in the character's prefab (allows full customization).
  • Hair: Restricts the interface to only allow hairstyle changes.
  • Outfit: Restricts the interface to only allow clothing changes.

Examples:

<<dressup "You" "All">>

Opens the full dress-up interface for the character "You," allowing the player to select options for both Hair and Outfit.

<<dressup "You" "Outfit">>

Opens a restricted dress-up interface for the character "You," allowing the player to change only the Outfit.

Wear Item

Updates a character's appearance instantly without opening the user interface. This is useful for story-driven costume changes or resetting a character's look via script.

Syntax:

<<wear "[CharacterName]" "[Category]" "[ItemName]">>

Parameters:

ParameterTypeOptionsDescription
CharacterNametextany valid character IDThe character whose appearance you want to change.
CategorytextHair, OutfitThe specific body part or slot you are updating.
ItemNametextexact asset nameThe ID of the item to wear. This must match the prefab item name exactly.

Examples:

<<wear "You" "Outfit" "black_slack">>

Immediately updates the character "You" to wear the black_slack outfit.

<<wear "You" "Hair" "black_bob">>

Immediately changes the hair of character "You" to the black_bob style.