Vector2IntExtensions.SetUniformly
Extension Method in Vector2IntExtensions
Declaration
public static Vector2Int SetUniformly(this Vector2Int vector, int value)
Description
Sets all components of the vector to the given value.
Parameters
vector | The vector to set. |
value | The uniform component value. |
Returns
Vector2Int | A new vector with the uniform component value. |