The built-in player controller uses two stat assets: one for damage and one for defense. Add your own to extend the system.

PropertyTypeDescription
displayNamestringHuman-readable name shown in the UI (e.g. "Damage", "Defense").
iconSpriteIcon representing this stat in tooltips and effect popups.
descriptionstringBrief explanation of what this stat controls.

Create a Stat

  1. In the Project window right-click Assets/Scriptable Objects/Stats/Create → Loop Adventure → Inventory → Stat.
  2. Fill in displayName (e.g. "Damage" or "Defense") — this label appears in tooltips and the active-effects HUD.
  3. Assign an icon Sprite.
  4. Reference the new Stat asset in Equipment StatValue entries or Effect targetStat fields to wire it into the stat system.
  5. To read the total combined value at runtime call PlayerInventory.current.GetStatValue(stat), which sums all equipped gear contributions for that Stat.