示例#1
0
 public JObject ToJson(int weightSum)
 {
     return(new JObject
     {
         { "width", Weight / (double)weightSum },
         { "showText", !Discrete },
         { "tap", Tap.ToString() },
         { "press", Press.ToString() }
     });
 }
 public void OnMultiTap(Tap tap)
 {
     this._statusLabel.text = tap.ToString();
 }