Ray.GetPoint
Description 描述
Returns a point at distance units along the ray.
using UnityEngine;
public class Example : MonoBehaviour { void Start() { Ray r = new Ray(); print(r.GetPoint(10)); // a point 10 units along the ray } }
Returns a point at distance units along the ray.
using UnityEngine;
public class Example : MonoBehaviour { void Start() { Ray r = new Ray(); print(r.GetPoint(10)); // a point 10 units along the ray } }