public void DeleteAction() { int selected = eqDrop.value; ListDeleter.DeleteFromList(CharacterStatic.eqLable, selected); ListDeleter.DeleteFromList(CharacterStatic.eqDescription, selected); DeleteDrop.Delete(ref eqDrop, CharacterStatic.eqLable, new InputField[] { eqLabel, eqDescription }); }
/// <summary> /// Action for delete value in static class and dropdown. /// </summary> public void DeleteAction() { int selected = abilityDrop.value; ListDeleter.DeleteFromList(CharacterStatic.abilityLable, selected); ListDeleter.DeleteFromList(CharacterStatic.abilityValue, selected); ListDeleter.DeleteFromList(CharacterStatic.abilityDescription, selected); DeleteDrop.Delete(ref abilityDrop, CharacterStatic.abilityLable, new InputField[] { abilityLabel, abilityDescription }, abilityLevel); }
/// <summary> /// Delete value from Static class and dropdown. /// </summary> public void DeleteAction() { int selected = skillDrop.value; ListDeleter.DeleteFromList(CharacterStatic.skillLable, selected); ListDeleter.DeleteFromList(CharacterStatic.skillValue, selected); ListDeleter.DeleteFromList(CharacterStatic.skillDescription, selected); DeleteDrop.Delete(ref skillDrop, CharacterStatic.skillLable, new InputField[] { skillLabel, skillLevel, skillDescription }); }
/// <summary> /// Delete CharacterSheet file and from dropdown /// </summary> public void DeleteCharacterSheet() { DeleteDrop.Delete(ref characterSheetList); }