Versions with this page:
Versions without this page:
返回由两个向量的最大分量组成的向量。
另请参阅:Min 函数。
using UnityEngine; using System.Collections;public class ExampleClass : MonoBehaviour { public Vector2 a = new Vector2(1, 3); public Vector2 b = new Vector2(4, 2); void Example() { print(Vector2.Max(a, b)); } }