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

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

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