public void DidChangeValue(SaveDialog dialog, string value) { if (CreatureSerializer.CreatureExists(value)) { dialog.ShowErrorMessage(string.Format("The existing save for {0} will be overwritten!", value)); } else { dialog.ResetErrors(); } }
public void PromptCreatureSave() { saveDialog.gameObject.SetActive(true); saveDialog.ResetErrors(); }