CameraBuddy.Spectate.Data.Lanes.InWhatLane C# (CSharp) Method

InWhatLane() public static method

public static InWhatLane ( this pos ) : Lane
pos this
return Lane
        public static Lane InWhatLane(this Vector3 pos)
        {
            if (pos.IsInLane(Lane.Top))
                return Lane.Top;
            if (pos.IsInLane(Lane.Bottom))
                return Lane.Bottom;
            if (pos.IsInLane(Lane.Middle))
                return Lane.Middle;
            return Lane.Jungle;
        }
        public static bool IsInLane(this Vector3 pos,  Lane lane)