Swappable Mesh Model Profile
A swappable mesh model profile contains all of the information about a swappable mesh model so that the character editor and equipment can properly enable or disable the correct meshes.
Creation
To create a swappable mesh model profile, find (or create) the GameName/Resources/GameName/SwappableMeshModelProfile folder in the project tab and right click. Choose Create > AnyRPG > SwappableMeshModelProfile.
Properties
Swappable mesh model profiles, contain one property, Model Options, with the following fields.
Mesh Group Properties
Mesh group properties contains a list of mesh group configurations, with the following fields.
Mesh Options
Defines the friendly (display name) of a mesh, and the name of the GameObject the mesh is located on.
Group Default Properties
Group default properties define which option should be active for which group when no other option is chosen. These are required so that some mesh is showing, instead of all meshes being disabled.
Next Steps
Add a swappable mesh model profile to a Unit Prefab Profile.
Last updated