Liberi
An exergame built for kids with CP!
All Classes Functions Variables Properties Events
HeroItem.cs
1 using UnityEngine;
2 using System.Collections;
3 
7 public class HeroItem : Item
8 {
12  public string Slot;
16  public Sprite PrimarySprite;
20  public Sprite SecondarySprite;
21 
22  public override string Type {get {return "hero";}}
23  public override bool Equippable {get {return true;}}
24 }
Derived class for storing Hero clothing items.
Definition: HeroItem.cs:7
A Class for storing items. Can be used as is or be derived from. See GemItem or GuardianWeapon for ex...
Definition: Item.cs:8
Sprite PrimarySprite
The primary sprite.
Definition: HeroItem.cs:16
Sprite SecondarySprite
The secondary sprite (currently just for the back hand for gloves).
Definition: HeroItem.cs:20
string Slot
Which equipment slot this item is for.
Definition: HeroItem.cs:12