Divides a vector by a number.
Divides each component of a
by a number d
.
#pragma strict public class Example extends MonoBehaviour { function Start() { //Prints (0.5, 1.0, 1.5, 2.5) print(new Vector4(1, 2, 3, 5) / 2); } }
using UnityEngine;
public class Example : MonoBehaviour { void Start() { //Prints (0.5, 1.0, 1.5, 2.5) print(new Vector4(1, 2, 3, 5) / 2); } }