Documentation
  • AnyRPG Introduction
  • Getting Started
    • Installing AnyRPG
      • Unity Asset Store Installation
      • Github Installation
      • Unity Package Installation
    • Included sample games
    • Creating your first game
    • Configuring your game
    • Adding Content To Your Game
  • Wizards
    • Wizards Introduction
    • New Game Wizard
    • New Scene Wizard
    • New Equipment Set Wizard
    • Animation Profile Wizard
    • Screenshot Wizard
    • Template Content Wizard
    • New Character Wizard
    • New Weapon Wizard
    • Minimap Wizard
    • Rename Wizard
  • Scriptable Objects
    • Scriptable Objects Introduction
    • Abilities
      • Animated Ability
      • Channeled Ability
      • Craft Ability
      • Direct Ability
      • Gather Ability
    • Ability Effects
      • AOE Effect
      • Attack Effect
      • Capture Pet Effect
      • Channeled Effect
      • Direct Effect
      • Heal Effect
      • Instant Effect
      • Knock Back Effect
      • Mount Effect
      • Pet Control Effect
      • Pet Effect
      • Projectile Effect
      • Rain Effect
      • Remove Effect
      • Resurrect Effect
      • Status Effect
      • Summon Effect
      • Taunt Effect
      • Teleport Effect
    • Achievement
    • Animated Action
    • Animation Profile
    • Armor Class
    • Attachment Profile
    • Audio Profile
    • Behavior Profile
    • Character Class
    • Character Race
    • Character Stat
    • Chat Commands
      • Action Command
      • Composite Command
      • Gain Currency Command
      • Gain Experience Command
      • Gain Item Command
      • Learn Ability Command
      • Load Scene Command
      • Set Level Command
    • Class Specialization
    • Combat Strategy
    • Credits Category
    • Currency
    • Currency Group
    • Cutscene
    • Dialog
    • Environment State Profile
    • Equipment Model Profile
    • Equipment Set
    • Equipment Slot Profile
    • Equipment Slot Type
    • Faction
    • Interactable Option Configurations
      • Bank Config
      • Behavior Config
      • Character Creator Config
      • Class Change Config
      • Crafting Node Config
      • Cutscene Config
      • Dialog Config
      • Faction Change Config
      • Gathering Node Config
      • Item Pickup Config
      • Load Scene Config
      • Lootable Character Config
      • Moveable Prefab Config
      • Music Player Config
      • Name Change Config
      • Patrol Config
      • Quest Giver Config
      • Skill Trainer Config
      • Specialization Change Config
      • Teleport Config
      • Unit Spawn Controller Config
      • Vendor Config
    • Items
      • Action Effect Item
      • Armor
      • Bag
      • Currency Item
      • Equipment
      • Food
      • Power Resource Potion
      • Quest Start Item
      • Recipe Item
      • Weapon
    • Item Quality
    • Loot Table
    • Material Profile
    • Patrol Profile
    • Power Resource
    • Prefab Profile
    • Quest
    • Quest Giver Profile
    • Recipe
    • Resource Description
    • Scene Node
    • Scriptable Content Template
    • Skill
    • Status Effect Group
    • Status Effect Type
    • Swappable Mesh Model Profile
    • UMA Model Profile
    • Unit Prefab Profile
    • Unit Profile
    • Unit Toughness
    • Unit Type
    • Vendor Collection
    • Voice Profile
    • Weather Profile
    • Weapon Skill
  • MONOBEHAVIOURS
    • Monobehaviours Introduction
    • Scene Config
    • Channeled Object Script
    • Channeled Cylinder Script
    • Edible Object
    • Projectile Script
    • Cutscene Camera Controller
    • Playable Director Controller
    • Spawnable
    • Interactable
    • Interactable Options
      • Animated Object
      • Bank
      • Behavior Interactable
      • Character Creator Interactable
      • Class Change Interactable
      • Click Switch
      • Crafting Node
      • Cut Scene Interactable
      • Dialog Interactable
      • Faction Change Interactable
      • Gathering Node
      • Item Pickup
      • Load Scene Interactable
      • Lootable Character
      • Moveable Object
      • Moveable Prefab
      • Music Player
      • Name Change Interactable
      • Pressure Switch
      • Quest Giver
      • Skill Trainer
      • Specialization Change Interactable
      • Teleport Interactable
      • Unit Spawn Controller Interactable
      • Vendor
    • Environmental Effect Area
    • Movement Sound Area
    • Persistent Object
    • Respawn Area
    • Unit Spawn Node
    • Water Body
  • Architecture
    • Ability System
      • Abilities
      • Ability Effects
    • Project Settings
      • Layers
      • Tags
      • Physics Settings
  • Shared Properties
    • Capabilities
    • Environment Preview
    • Prerequisite Conditions
    • Stat Scaling Nodes
Powered by GitBook
On this page
  • Creation
  • Properties
  • Name Plate Properties
  • Model Provider Properties
  • Next Steps
  1. Scriptable Objects

Unit Prefab Profile

A unit prefab profile contains information needed to configure the GameObject prefab that represents the character model for any character.

PreviousUMA Model ProfileNextUnit Profile

Last updated 2 years ago

Creation

To create a unit prefab profile, find (or create) the GameName/Resources/GameName/UnitPrefabProfile folder in the project tab and right click. Choose Create > AnyRPG > UnitPrefabProfile.

Properties

Name
Description

Unit Prefab

A link to a prefab that will be used for the character unit. The unit prefab does not have to, but can optionally, include a model.

Model Prefab

A link to a prefab that will be used for the character model if the model is separate from the Unit Prefab.

Model Provider

Animation Profile Name

Use Inline Animation Props

Animation Props

Rotate Model

If true, the model will be rotated to face in the direction of travel. This option should be used if no strafe animations exist for the model.

Name Plate Props

Position

If being used as a mount, the Vector3 position in relation to the Target Bone the character will be mounted to when riding.

Rotation Is Global

If true, and being used as a mount, the value in the Rotation field will be considered global (relative to world space) instead of local.

Rotation

If being used as a mount, the Vector3 rotation in relation to the Target Bone the character will be mounted to when riding.

Scale

If being used as a mount, the Vector3 scale of the character when riding.

Target Bone

If being used as a mount, the bone the character will be attached to when riding.

Attachment Profile Name

Float Height

When floating in water, the height from the bottom of the character that the water line will sit at.

Add Float Height To Transform

If true, the height of the Float Transform will be added to the Float Height. If false, the Float Transform height will replace the Float Height if the Float Transform is found.

Float Transform

The name of a bone that should be used for the water line when floating.

Name Plate Properties

Name
Description

Display Name

The name that is printed on the nameplate above the character model. This value will also override whatever is set for the interactable mouseover display name.

Suppress Name Plate

If true, no nameplate will be shown above this character.

Suppress Faction

If true, the faction will not be shown on the nameplate.

Override Nameplate Position

If true, the nameplate position will be shown at the manual value in the Name Plate Position field.

Use Snap Shot

Unit Frame Target

The name of a bone that the camera will look at when taking a snapshot for the unit frame.

Unit Frame Camera Look Offset

Any Vector3 offset that the camera will look at relative to the Unit Frame Target.

Unit Frame Camera Position Offset

The position of the unit frame camera relative to the Unit Frame Target.

Unit Preview Target

The name of a bone that the camera will look when displaying the character in a full body unit preview window.

Unit Preview Camera Look Offset

Any Vector3 offset that the camera will look at relative to the Unit Preview Target.

Unit Preview Camera Position Offset

The position of the unit preview camera relative to the Unit Preview Target.

Model Provider Properties

Currently, there are 2 model providers: UMAModelProvider and SwappableMeshModelProvider. The UMA model provider can be used on UMA units, and the swappable mesh model provider can be used on units that contain multiple meshes that can be enabled or disabled to change appearance.

UMAModelProvider Properties

Name
Description

Use Inline Options

If true, the options in the Inline Options field will be used instead of the Shared Options.

Inline Options

Shared Options

SwappableMeshModelProvider Properties

Name
Description

Use Inline Options

If true, the options in the Inline Options field will be used instead of the Shared Options.

Inline Options

Shared Options

Next Steps

The name of an that will be used for the model animations.

If true, the Animation Props field will be used for animation properties, instead of a shared .

Inline properties of an .

Nameplate, unit frame, and unit preview settings. See .

The used to lookup actual bone names when attaching prefabs (holdable objects) to the character model.

If true, a snapshot of the target will be used. If false, the image will be used.

.

The name of an .

.

The name of a .

Add a unit prefab profile to a .

Unit Profile
Animation Profile
Animation Profile
Animation Profile
Attachment Profile
Unit Profile
UMA Model Profile
Swappable Mesh Model Profile
Name Plate Properties
Swappable Mesh Model Profile Properties
UMA Model Profile Properties