Пример #1
0
 private void SelectMultipleLoop(TreeNodeObject _source, float _min, float _max)
 {
     if (Object.op_Equality((Object)_source, (Object)null))
     {
         return;
     }
     if (MathfEx.RangeEqualOff <float>(_min, (float)((Transform)_source.rectNode).get_position().y, _max))
     {
         this.AddSelectNode(_source, true);
     }
     if (_source.treeState == TreeNodeObject.TreeState.Close)
     {
         return;
     }
     foreach (TreeNodeObject _source1 in _source.child)
     {
         this.SelectMultipleLoop(_source1, _min, _max);
     }
 }
Пример #2
0
 // Token: 0x06008AAB RID: 35499 RVA: 0x0035DBF6 File Offset: 0x0035BFF6
 public static bool IsRange <T>(T min, T n, T max, bool isEqual) where T : IComparable
 {
     return((!isEqual) ? MathfEx.RangeEqualOff <T>(min, n, max) : MathfEx.RangeEqualOn <T>(min, n, max));
 }