MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / OnEndInit

Method OnEndInit

Source/Editor/Modules/WindowsModule.cs:1085–1109  ·  view source on GitHub ↗

()

Source from the content-addressed store, hash-verified

1083
1084 /// <inheritdoc />
1085 public override void OnEndInit()
1086 {
1087 UpdateWindowTitle();
1088
1089 // Initialize windows
1090 for (int i = 0; i < Windows.Count; i++)
1091 {
1092 try
1093 {
1094 Windows[i].OnInit();
1095 }
1096 catch (Exception ex)
1097 {
1098 Editor.LogWarning(ex);
1099 Editor.LogError("Failed to init window " + Windows[i]);
1100 }
1101 }
1102
1103 // Load current workspace layout
1104 if (!LoadLayout(_windowsLayoutPath))
1105 LoadDefaultLayout();
1106
1107 // Clear timer flag
1108 _lastLayoutSaveTime = DateTime.UtcNow;
1109 }
1110
1111 /// <inheritdoc />
1112 public override void OnUpdate()

Callers

nothing calls this directly

Calls 3

OnInitMethod · 0.45
LogWarningMethod · 0.45
LogErrorMethod · 0.45

Tested by

no test coverage detected