Example #1
0
    void Start()
    {
        icon       = GetComponent <Image>();
        abilityKit = player.GetComponent <AbilityKit>();

        icon.sprite = ability.icon;
    }
Example #2
0
    void Start()
    {
        button     = GetComponent <Button>();
        icon       = GetComponent <Image>();
        abilityKit = player.GetComponent <AbilityKit>();

        icon.sprite           = ability.icon;
        isSkilledIcon.enabled = false;
        Deactive();
    }
Example #3
0
 void Start()
 {
     icon       = GetComponent <Image>();
     abilityKit = player.GetComponent <AbilityKit>();
     UpdateSlots();
 }