Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


playOnAwake

Whether the content will start playing back as soon as the component awakes.
Read time 1 minuteLast updated 10 days ago

Definition

public bool playOnAwake { get; set; }

Remarks

Note: This plays each time the component is enabled, not only once from Awake.