ButtonClick()

Found in:

public void ButtonClick(){
    if(type == "spell"){
      cardTemplate.populateRecipe(spell);
    }else if(type == "inventory"){
      cardTemplate.PopulateItem(curItem, true);
    }else if (comboCardInUse){
      cardTemplate.PopulateCombo(currCombo, comboCardInUse);
    }
    cardTemplate.gameObject.SetActive(true);
  }


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *