Adds two vectors.
Adds corresponding components together.
#pragma strict function Start() { print(new Vector4(1, 2, 3, 4) + new Vector4(5, 6, 7, 8)); }
using UnityEngine; using System.Collections;
public class ExampleClass : MonoBehaviour { void Start() { print(new Vector4(1, 2, 3, 4) + new Vector4(5, 6, 7, 8)); } }