public Unlockable(Unlockable other) { this.type = other.type; this.extra = other.extra; }
public GameObject[] GetUnlockedItems(UnlockableType type) { return(unlockables[type].FindAll(u => u.GetComponent <Unlockable>().unlocked).ToArray()); }
public Unlockable(UnlockableType type, string extra) { this.type = type; this.extra = extra; }