Skill Tree
  • Skill Tree Documentation
  • Legacy Product
  • đŸ•šī¸Quick Start
    • Installation
    • Default Prefabs
    • Start Editing
    • Making it Work
  • 🎮Demo Scene
    • Endless Death
  • âš™ī¸Systems
    • Skill Tree
      • Editor Window
        • Skill Trees (Skill Graphs)
        • Skills (Skill Nodes)
          • Skill Stats Editor
          • Text Tags
        • Connections
      • Skill Tree Settings
      • Components
        • Skill Tree Initializer
        • Default Components
          • Confirmation Prompt
          • Default Input Handler
          • Skill Tree Window
          • Skill Details
          • Skill Menu
          • Skill Bar & Windup UI
        • Skill Interpreter
      • Customizations
        • UI Customizations
          • Custom Skill Menu
          • Custom Skill Details
        • Custom Objects
      • Scripting
        • Initialization
        • Player Level & Skill Points
        • Skill Graphs
        • Skill Nodes
        • Using Skills
        • Saving & Loading Graphs
        • Default Skill Tree Window
        • Events
    • Stats
      • Stats Editor
      • Components
        • Unit Stats Provider
      • Creating & Providing Stats
      • Scripting
        • Stat Groups & Identities
        • Stats
        • Unit Stats Provider
          • Events
        • Saving & Loading Stats
  • đŸ› ī¸Support
    • Getting Help
  • 📚Changelogs
    • Latest Releases
  • ⭐Rate Me?
Powered by GitBook
On this page
  • Step 1: Create Stat Identities
  • Step 2: Create Stats
  1. Systems
  2. Stats

Creating & Providing Stats

Learn how to create stats and provide them to GameObjects.

PreviousUnit Stats ProviderNextScripting

Last updated 5 months ago

Step 1: Create Stat Identities

Open Skill Tree's settings from Window > Skill Tree > Stats. Stat identities aren't stats themselves, but rather a way to identify stats and set basic rules for them. You can create a stat by clicking the 'Create New Group' and then the little green '+' button on the created group.

Step 2: Create Stats

This is the simplest way to both create and provide stats to GameObjects. Simply add the Unit Stats Provider component to a GameObject and set the stats you'd like it to have from the inspector.

âš™ī¸