(ContainerControl uiRoot)
| 471 | } |
| 472 | |
| 473 | internal void OnSaveEnd(ContainerControl uiRoot) |
| 474 | { |
| 475 | // Restore cached size of the UI root container |
| 476 | if (_uiRootSizes != null && _uiRootSizes.Remove(uiRoot, out var size)) |
| 477 | { |
| 478 | uiRoot.Size = size; |
| 479 | } |
| 480 | } |
| 481 | |
| 482 | private void OnSceneSaving(Scene scene, Guid sceneId) |
| 483 | { |