Esempio n. 1
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="sortStyle">The target style used to return a comparer</param>
 /// <param name="xform">Position for distance-based sorting</param>
 public TargetComparer(TargetTracker.SORTING_STYLES sortStyle, Transform xform)
 {
     this.xform     = xform;
     this.sortStyle = sortStyle;
 }
Esempio n. 2
0
 public TargetComparer(TargetTracker.SORTING_STYLES sortStyle, Transform perimeterPos)
 {
     this.perimeterPos = perimeterPos;
     this.sortStyle    = sortStyle;
 }