文档

Unity Engine


User Manual

Script Reference

Unity Engine


startWidth

The width of the trail at the spawning point.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public float startWidth { get; set; }

Remarks

A width of 1 corresponds to 1 unit in the game world.
Additional Resources: TrailRenderer.endWidth variable.