Demo Scenes
Start creating characters with the fully functional demo scenes.
The demo scenes are only meant to be used in the Editor and Editor Play Mode. To use the system for Runtime applications, you will need to integrate it into your own custom code.
Run a Demo Scene
The included demo scenes are meant to help you create premade characters. They feature code which can be referenced or incorporated into your own systems.
There are two Demo Scenes which are meant to run in Editor Play Mode. These tools have a fully functioning interface to add and remove Wearables, swap Materials, adjust Morphs, change cosmetics, and export prefabs, sets or data. They function almost identically, except that they use different Modular Character Managers.
The Managers
Character Builder Demo
The Character Builder demo uses the "Clean Manager", which is derived from the Modular Character Manager. This Manager instantiates Wearables each time they’re added, and destroys them when they’re removed.
The Clean Manager is best used when you are creating a one-off character prefab which will remain as-is, with little to no changes.
Character Closet Demo
The Character Closet demo uses the "Hidden Cache Manager", which is derived from the Modular Character Manager. This Manager instantiates Wearables as they’re equipped, but rather than destroying the them when they’re removed, they are kept hidden. The system then enables and disables Wearable meshes as they’re added/removed rather than instantiating and destroying. This is more efficient, not only because instantiating and destroying is performance intensive, but it also eliminates the need to re-weight Wearables to the armature hierarchy each time they’re equipped.
The Hidden Cache Manager is best used when clothing will be swapped often
The Scenes
Loading A Character
Before you start, make sure you've imported all of your Base Packs and AddOn Packs, and linked the Wearable Databases to the Character Styles (see Setup).
Now run the scene of your choice (the reference images are taken from the Character Builder demo). They function essentially the same way. Upon entering Play Mode, you will be greeted by a bare-bones scene. Your only choice at this point is to load a character prefab. (The options available to you are pulled directly from the "Styles to Load" array where you added Character Styles).
Select the character you wish to load from the dropdown menu and click "Load New Character". An unclothed prefab of that character will be loaded.
The Wearable Page
The Wearable Page contains an interface that allows you to add Wearables to your character. You can also remove Wearables and change their Materials. This data is pulled from the Wearable Database(s) assigned to the loaded Character Style.
Selecting a top category will drill down to sub-categories. Each sub-category represents a slot in the Manager, and clicking on one will load a menu of options for that slot.
The Cosmetic Page
The Cosmetic Page contains an interface for changing skin tone, makeup options, eye styles and eyebrow styles. This data is pulled from the loaded Character Style.
The Morph Page
The Morph Page contains an interface for adjusting the morph values on a Character. You can make adjustments to the eyes, nose, mouth, chest, waist, glutes, and overall body (along eyelash and nail length). These sliders are explicitly set and linked to the Character Morphs because all Modular Characters have the same morph options.
The Character Page
The Character Page allows you to load a new character, exit the scene, or save the Character in a variety of ways.
A Character Name must be defined before you can save prefabs, presets, or JSON data. When loading JSON data, the Character Name refers to the name of the JSON file you wish to load.
There are several different ways you can save your current character. There is a default save location for these files, but you can specify your own on the CharacterBuilderUI (in the case of the Character Builder Demo), or the CharacterClosetUI (in the case of the Character Closet Demo) component in the Inspector. Leave them blank to use the default locations.
Save Prefab: Save a copy of the current character as a prefab to the "Prefab Save Path".
Save Preset: Saves the current configuration as a Wearable Set Object to the "Set Save Path".
Save Data to JSON File: Saves the current configuration as a JSON file to the "Data Save Path" (using the Wearable Set Data class).
Load Character From JSON File: Converts the specified JSON file to a Wearable Set and applies it to the current character. (Loads from the "Data Save Path")
Scene Controls
When you load a character, you will have access to various controls for the scene. You can zoom in on the character's face, rotate the character, cycle through idle or walk animations, and change facial expressions.
T
Last updated