Creating & Providing Stats

Learn how to create stats and provide them to GameObjects.

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.

Last updated