Assets/Scripts/Helpers/VectorHelper.cs @@ -138,5 +138,14 @@ } return result; } public static string ToRangeString(this Vector2 vector) { if (vector.x == vector.y) { return $"{vector.x}"; } return $"{vector.x}-{vector.y}"; } } }