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

Ray.GetPoint

Declaration

public Vector3 GetPoint(float distance);

Описание

Возвращает точку в distance единицах вдоль луча.

using UnityEngine;

public class Example : MonoBehaviour { void Start() { Ray r = new Ray(); print(r.GetPoint(10)); // a point 10 units along the ray } }