Min
Creates a vector that is made from the smallest components of two vectors.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
Min(Vector2Int, Vector2Int)
Creates a vector that is made from the smallest components of two vectors.
public static Vector2Int Min(Vector2Int lhs, Vector2Int rhs)
Parameters
Returns
Type | Description |
|---|---|
| Vector2Int | A vector that is made from the smallest components of two vectors. |
Remarks
Additional Resources: Vector2Int.Max function.
Min(Vector2Int, Vector2Int)
Creates a vector that is made from the smallest components of two vectors.
public static Vector2Int Min(in Vector2Int lhs, in Vector2Int rhs)
Parameters
Returns
Type | Description |
|---|---|
| Vector2Int | A vector that is made from the smallest components of two vectors. |
Remarks
Additional Resources: Vector2Int.Max function.