public override void UpdateUI(bool isOk) { if (isOk) { var.SaveConfig(); ToUI(); } else { var.ResetConfig(); } }
public override void UpdateUI(bool isOk) { if (isOk) { Compiler.instance.Uncompile(); var.SaveConfig(); Bloco.changed = true; ToUI(); } else { var.ResetConfig(); } }
public override void UpdateUI(bool isOk) { if (isOk) { Compiler.instance.Uncompile(); var.SaveConfig(); oldOp = op.text; val.SaveConfig(); ToUI(); } else { var.ResetConfig(); op.text = oldOp; val.ResetConfig(); } }
public override void UpdateUI(bool isOk) { if (isOk) { var.SaveConfig(); oldOp = op.text; oldEnd = end.text; oldInitial = initial.text; Bloco.changed = true; ToUI(); } else { var.ResetConfig(); op.text = oldOp; initial.text = oldInitial; end.text = oldEnd; } }
public void ResetConfig() { vvm.ResetConfig(); toggle.isOn = lastToggle; TMPinput.text = lastValue; }