Ejemplo n.º 1
0
 public TalentTier(TalentCategory category, int index, List <Talent> talents, bool isUnlocked)
 {
     Category   = category;
     Index      = index;
     Talents    = talents;
     IsUnlocked = isUnlocked;
 }
Ejemplo n.º 2
0
 public Talent(TalentData data, Behaviour behaviour, TalentCategory category)
 {
     Id          = data.Id;
     Tier        = data.Tier;
     Index       = data.Index;
     Name        = I18N.Instance.Get(data.NameKey);
     Description = I18N.Instance.Get(data.DescriptionKey);
     Icon        = data.Icon;
     Behaviour   = behaviour;
     Category    = category;
 }