Vector3.operator /
Declaration
public static Vector3 operator /(Vector3 a, float d);Описание
Делит вектор на число.
Делит каждый компонент a на число d.
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); } }