Hi,
checking the exposed operators for Vector2/3/4 and Vector2Int/3Int you can see there are inconsistencies. For example Vector2 exposes operator* and operator/ for component-wise multiplication and division whereas Vector3/4 do not.
Which means that
Vector2 a = new(1,2);
Vector2 b = new(3,4);
Vector2 c = a*b;
works but the same with Vector3/4 does not (but it works with Vector2Int/Vector3Int).
There are also some methods that aren’t documented on the official page (for example the method static Vector3Int operator *(int a, Vector3Int b) exists but isn’t on the official documentation page) . I’m writing below the missing method signatures I’ve found in the hope they can be implemented for consistency. Should be quick.
Thanks
public static Vector3 operator *(Vector3 a, Vector3 b);
public static Vector3 operator /(Vector3 a, Vector3 b);
public static Vector4 operator *(Vector4 a, Vector4 b);
public static Vector4 operator /(Vector4 a, Vector4 b);
public static Vector2Int operator /(Vector2Int a, Vector2Int b);
public static Vector3Int operator /(Vector3Int a, Vector3Int b);