Divides a vector by a number.
Divides each component of a
by a number d
.
#pragma strict // make the vector twice shorter: prints (0.5,1.0,1.5) print(new Vector3(1, 2, 3) / 2.0F);
using UnityEngine; using System.Collections;
public class ExampleClass : MonoBehaviour { void Example() { // make the vector twice shorter: prints (0.5,1.0,1.5) print(new Vector3(1, 2, 3) / 2.0F); } }