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