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

vectorThe vector to set.
valueThe uniform component value.

Returns

Vector2IntA new vector with the uniform component value.