Version: 2018.4
public static Vector3 Max (Vector3 lhs, Vector3 rhs);

説明

2 つのベクトルで各成分の一番大きな値を使用してベクトルを作成します

関連項目: Min 関数

using UnityEngine;
using System.Collections;

public class ExampleClass : MonoBehaviour { public Vector3 a = new Vector3(1, 2, 3); public Vector3 b = new Vector3(4, 3, 2);

void Example() { print(Vector3.Max(a, b)); // prints (4.0f, 3.0f, 3.0f) } }