Unity 6.3
0 онлайн 13 гостей 3 в системе
Вход

Vector3.one

Declaration

public static Vector3 one;

Описание

Сокращение для написания Vector3(1, 1, 1).

using UnityEngine;
using System.Collections;

public class ExampleClass : MonoBehaviour { void Example() { transform.position = Vector3.one; } }