public static Vector3 operator + (Vector3 a, Vector3 b);

Description

将两个向量相加。

将相应的分量相加。

// prints (5.0,7.0,9.0)

using UnityEngine; using System.Collections;

public class ExampleClass : MonoBehaviour { void Start() { print(new Vector3(1, 2, 3) + new Vector3(4, 5, 6)); } }