示例#1
0
 public void AddSpell(Structs.Spell spell)
 {
     for (int i = 0; i < children.Length - 1; i++)
     {
         children[i].CopySpell(children[i + 1]);
     }
     children[children.Length - 1].SetSpell(spell);
 }
示例#2
0
 private void SetSpellView(Structs.Spell oldSpell, Structs.Spell newSpell)
 {
     wizardView?.SetSpell(newSpell);
 }
示例#3
0
 public void SetSpell(Structs.Spell spell)
 {
     this.spell = spell;
 }
示例#4
0
 public void SetSpell(Structs.Spell spell)
 {
     this.spell.text = spell.name;
 }
示例#5
0
 public void SetSpell(Structs.Spell spell)
 {
     spellText.text = spell.name;
 }