Unity 引擎文档Script ReferenceUnityEngineTrailRenderernumPositionsGet the number of line segments in the trail.阅读时间1 分钟最后更新于 2 天前Definition Type: Property Namespace: UnityEngine Assembly: UnityEngine.CoreModule 警告Deprecated. Use positionCount insteadUpgrade to TrailRenderer.positionCount public int numPositions { get; }