Adds two vectors.
Adds corresponding components together.
// prints (5.0,7.0,9.0) print (Vector3(1,2,3) + Vector3(4,5,6));
using UnityEngine; using System.Collections; public class ExampleClass : MonoBehaviour { void Example() { print(new Vector3(1, 2, 3) + new Vector3(4, 5, 6)); } }
import UnityEngine import System.Collections public class ExampleClass(MonoBehaviour): def Example() as void: print((Vector3(1, 2, 3) + Vector3(4, 5, 6)))