Awake()
Called as the new window is opened.
Read time 1 minuteLast updated 4 days ago
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}