文档

Unity Engine

Unity Engine

AddPosition(Vector3)

Adds a position to the trail.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public void AddPosition(Vector3 position)

Parameters

position

The position to add to the trail.

Remarks

Additional Resources: TrailRenderer.AddPositions function.