public bool DrawValueSlider(string label, EditIntValue edit)
 {
     return(DrawValueSlider(label, edit,
                            () => {
         var sliderVal = edit.val;
         if (DrawSlider(ref sliderVal, edit.range.editMin, edit.range.editMax))
         {
             edit.Set(sliderVal);
             return true;
         }
         return false;
     }));
 }
Esempio n. 2
0
 // Token: 0x06000328 RID: 808 RVA: 0x00019BBC File Offset: 0x00017DBC
 public bool DrawValueSlider(string label, EditIntValue edit)
 {
     return(this.DrawValueSlider <int>(label, edit, delegate()
     {
         int val = edit.val;
         if (this.DrawSlider(ref val, edit.range.editMin, edit.range.editMax))
         {
             edit.Set(val);
             return true;
         }
         return false;
     }));
 }