文档

Unity Engine

Unity Engine

awakeDidRun

Indicates whether Unity has already called Awake on the objects in the scene.
阅读时间1 分钟最后更新于 1 个月前

Definition

public readonly bool awakeDidRun { get; }

Remarks

MonoBehaviour.Awake() methods could have mutated the scene or moved instances to other loaded scenes, requiring some specific handling.