文档

Unity Engine

Unity Engine

playOnAwake

Whether the content will start playing back as soon as the component awakes.
阅读时间1 分钟最后更新于 1 个月前

Definition

public bool playOnAwake { get; set; }

Remarks

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