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
  • Next Steps
  1. Scriptable Objects

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.

PreviousPower ResourceNextQuest

Last updated 2 years ago

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

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

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

The name of an that contains a link to an audio clip to play when the Prefab is moved to the unsheathed position.

The name of an that contains a link to an audio clip to play when the Prefab is moved to the sheathed position.

Use prefab profile for an model.

Use a prefab profile for a model.

Use a prefab profile for an model.

Use a prefab profile for a character model of a .

Use a prefab profile for a .

Use a prefab profile for a .

Use a prefab profile for a .

Use a prefab profile for a .

Use a prefab profile for a casting effect of an .

Equipment
Weapon
Armor
Unit Profile
Gathering Node
Mount
Projectile
Status Effect
Ability
Audio Profile
Audio Profile