Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


startWidth

The width of the trail at the spawning point.
Read time 1 minuteLast updated 4 days ago

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.