Exemple #1
0
    // Use this for initialization
    void Start()
    {
        icons = gameObject.GetComponent<Icons>();

        UltimateSpell.ChangeSpellOfButton(ApplicationStatics.UltimateSpell.SpellEnum, icons.ReturnSpriteFromSpell(ApplicationStatics.UltimateSpell.SpellEnum));
        Spell1.ChangeSpellOfButton(ApplicationStatics.Spell1.SpellEnum, icons.ReturnSpriteFromSpell(ApplicationStatics.Spell1.SpellEnum));
        Spell2.ChangeSpellOfButton(ApplicationStatics.Spell2.SpellEnum, icons.ReturnSpriteFromSpell(ApplicationStatics.Spell2.SpellEnum));
        Spell3.ChangeSpellOfButton(ApplicationStatics.Spell3.SpellEnum, icons.ReturnSpriteFromSpell(ApplicationStatics.Spell3.SpellEnum));
        Spell4.ChangeSpellOfButton(ApplicationStatics.Spell4.SpellEnum, icons.ReturnSpriteFromSpell(ApplicationStatics.Spell4.SpellEnum));
    }