Beispiel #1
0
 void Start()
 {
     // Initialises a Skill Box for a skill
     if (Skill != null && gameObject != null &&
         Name != null && Description != null &&
         Type != null && Cost != null && Requirement != null)
     {
         Name.text        = Skill.GetName();
         Description.text = Skill.GetDescription();
         Type.text        = Skill.GetSkillType();
         Cost.text        = Skill.GetCost().ToString();
         Requirement.text = Skill.GetRequirements().ToString();
     }
 }