Esempio n. 1
0
 public override void UpdateUI(bool isOk)
 {
     if (isOk)
     {
         var.SaveConfig();
         ToUI();
     }
     else
     {
         var.ResetConfig();
     }
 }
Esempio n. 2
0
 public override void UpdateUI(bool isOk)
 {
     if (isOk)
     {
         Compiler.instance.Uncompile();
         var.SaveConfig();
         Bloco.changed = true;
         ToUI();
     }
     else
     {
         var.ResetConfig();
     }
 }
Esempio n. 3
0
 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();
     }
 }
Esempio n. 4
0
 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;
     }
 }
Esempio n. 5
0
 public void ResetConfig()
 {
     vvm.ResetConfig();
     toggle.isOn   = lastToggle;
     TMPinput.text = lastValue;
 }