32 return new Vector2( (
float)gridCoordinate.
x, (
float)gridCoordinate.
y );
41 return new Vector2Int( gridCoordinate.
x, gridCoordinate.
y );
50 return new Vector3( (
float)gridCoordinate.
x, (
float)gridCoordinate.
y, 0f );
59 return new Vector3Int( gridCoordinate.
x, gridCoordinate.
y, 0 );
Holds grid information x and y coordinate.
GridCoordinate(int xAxis, int yAxis)
Constructor to pass x and y axis data