public void SpellChosen(GameObject spellClicked) { // //During character creation, when a "Spell Button" from the SpellChoiceBG is clicked chosenSpell = spellClicked.GetComponentInChildren <Text>().text; mySpellScriptable = spellClicked.GetComponent <ScriptableSpellReader>().mySpellScriptable; DisplaySpellDescription(spellClicked); }
public void ClearSpellSlotScriptable() { mySpellScriptable = null; spellName = ""; thisSpell = whichSpell.nothing; playerDamage = 0; spellDescriptionFromBook = ""; noDwarves = false; noHobbits = false; }