unity round vector 3 to nearest integer code example
Example: unity round vector 3 to nearest integer
//Converts a Vector3 to a Vector3Int by doing a Round to each value.
Vector3Int.RoundToInt(Vector3)
//Converts a Vector3 to a Vector3Int by doing a Round to each value.
Vector3Int.RoundToInt(Vector3)