Awake()
Called as the new window is opened.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEditor
public void Awake()
Remarks
Awake() message is called as a new editor window starts. This is similar to how an Awake() is called as an GameObject starts.
Examples
{code Modules/UIElements/Tests/UIElementsExamples/Assets/EditorWindowCodeExamples/AwakeExample.cs}