> For the complete documentation index, see [llms.txt](https://docs.anyrpg.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.anyrpg.org/scriptable-objects/prefab-profile.md).

# Prefab Profile

## Creation

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

## Properties

| Name                        | Description                                                                                                                                                               |
| --------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Prefab                      | A link to a Unity Prefab to spawn.                                                                                                                                        |
| Position                    | The Vector3 position of the *Prefab* relative to its parent, when held (unsheathed).                                                                                      |
| Rotation Is Global          | If true, the value in the *Rotation* property will be considered global, rather than local (relative to the parent).                                                      |
| Rotation                    | The Vector3 rotation of the *Prefab* when held (unsheathed).                                                                                                              |
| Scale                       | The Vector3 scale of the *Prefab* relative to the parent when held (unsheathed).                                                                                          |
| Target Bone                 | The GameObject in the hierarchy to attach the *Prefab* to when held (unsheathed).                                                                                         |
| Unsheath Audio Profile name | The name of an [Audio Profile](/scriptable-objects/audio-profile.md) that contains a link to an audio clip to play when the *Prefab* is moved to the unsheathed position. |
| Sheathed Position           | The Vector3 position of the *Prefab* relative to its parent, when sheathed.                                                                                               |
| Sheathed Rotation           | The Vector3 rotation of the *Prefab* when sheathed.                                                                                                                       |
| Sheathed Scale              | The Vector3 scale of the *Prefab* relative to the parent when sheathed.                                                                                                   |
| Sheathed Target Bone        | The GameObject in the hierarchy to attach the *Prefab* to when sheathed.                                                                                                  |
| Sheath Audio Profile Name   | The name of an [Audio Profile](/scriptable-objects/audio-profile.md) that contains a link to an audio clip to play when the *Prefab* is moved to the sheathed position.   |
| Use Item Pickup             | If true, the following values will be used for item pickups instead of the default (sheathed) values.                                                                     |
| Pickup Position             | The Vector3 position of the *Prefab* relative to its parent, when used as an item pickup.                                                                                 |
| Pickup Rotation             | The Vector3 rotation of the *Prefab* when used as an item pickup.                                                                                                         |
| Pickup Scale                | The Vector3 scale of the *Prefab* relative to the parent when used as an item pickup.                                                                                     |

## Next Steps

* Use prefab profile for an [Equipment](/scriptable-objects/items/equipment.md) model.
* Use a prefab profile for a [Weapon](/scriptable-objects/items/weapon.md) model.
* Use a prefab profile for an [Armor](/scriptable-objects/items/armor.md) model.
* Use a prefab profile for a character model of a [Unit Profile](/scriptable-objects/unit-profile.md).
* Use a prefab profile for a [Gathering Node](/scriptable-objects/interactable-option-configurations/gathering-node-config.md).
* Use a prefab profile for a [Mount](/scriptable-objects/ability-effects/mount-effect.md).
* Use a prefab profile for a [Projectile](/scriptable-objects/ability-effects/projectile-effect.md).
* Use a prefab profile for a [Status Effect](/scriptable-objects/ability-effects/status-effect.md).
* Use a prefab profile for a casting effect of an [Ability](/scriptable-objects/abilities.md).
