示例#1
0
 public void valueChanged(bool value)
 {
     if (!value)
     {
         WhenFail.Invoke();
     }
     else
     {
         WhenSucces.Invoke();
     }
 }
示例#2
0
 void fail()
 {
     WhenFail.Invoke();
     overfill    = 0;
     canOverfill = false;
 }