# 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*.

![](https://2976860065-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fx7Nd93HqSNPpv2JhrViE%2Fuploads%2FLT2YyxKALsOXTj6LWwbN%2Fimage.png?alt=media\&token=9cc90a5f-4c17-49d9-ad29-a5080b2eeded)

## 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](https://docs.anyrpg.org/scriptable-objects/audio-profile) 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](https://docs.anyrpg.org/scriptable-objects/audio-profile) 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](https://docs.anyrpg.org/scriptable-objects/items/equipment) model.
* Use a prefab profile for a [Weapon](https://docs.anyrpg.org/scriptable-objects/items/weapon) model.
* Use a prefab profile for an [Armor](https://docs.anyrpg.org/scriptable-objects/items/armor) model.
* Use a prefab profile for a character model of a [Unit Profile](https://docs.anyrpg.org/scriptable-objects/unit-profile).
* Use a prefab profile for a [Gathering Node](https://docs.anyrpg.org/scriptable-objects/interactable-option-configurations/gathering-node-config).
* Use a prefab profile for a [Mount](https://docs.anyrpg.org/scriptable-objects/ability-effects/mount-effect).
* Use a prefab profile for a [Projectile](https://docs.anyrpg.org/scriptable-objects/ability-effects/projectile-effect).
* Use a prefab profile for a [Status Effect](https://docs.anyrpg.org/scriptable-objects/ability-effects/status-effect).
* Use a prefab profile for a casting effect of an [Ability](https://docs.anyrpg.org/scriptable-objects/abilities).
