Vector2Extensions.Average
Extension Method in Vector2Extensions
Declaration
public static Vector2 Average(this Vector2[] vectors)
Description
Calculates the average of the vectors.
Parameters
vectors | The vectors to return the average of. |
Returns
Vector2 | A new vector of the average. |