Example #1
0
 public ButtonForInventory GetSelectedButton()
 {
     if (selectedSpell)
     {
         return(spellList.FindButtonWithText(selectedSpell.SpellName));
     }
     return(null);
 }