Prefab Profile
A prefab profile contains a link to a Unity Prefab and information about how to position and scale it relative to its parent.
Last updated
A prefab profile contains a link to a Unity Prefab and information about how to position and scale it relative to its parent.
Last updated
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.
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 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 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.
Use prefab profile for an Equipment model.
Use a prefab profile for a Weapon model.
Use a prefab profile for an Armor model.
Use a prefab profile for a character model of a Unit Profile.
Use a prefab profile for a Gathering Node.
Use a prefab profile for a Mount.
Use a prefab profile for a Projectile.
Use a prefab profile for a Status Effect.
Use a prefab profile for a casting effect of an Ability.