/// <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; }
public TargetComparer(TargetTracker.SORTING_STYLES sortStyle, Transform perimeterPos) { this.perimeterPos = perimeterPos; this.sortStyle = sortStyle; }