Ejemplo n.º 1
0
    private void SetupSpellButton(AgeTransform tableItem, SpellDefinition spellDefinition, int index)
    {
        SpellButton component = tableItem.GetComponent <SpellButton>();

        component.SetContent(spellDefinition, base.Empire, base.gameObject, this.isInTargetingPhase, this.thereAlreadyIsASpellCasted, this.encounter);
    }