@@ -16,6 +16,7 @@ For user-facing docs, treat `docs/README.md` (and linked pages) as the primary d
1616 - Owns configs, loaded presenter instances, visible list, and UI set configs.
1717 - Creates a ` DontDestroyOnLoad ` parent GameObject named ` "Ui" ` and attaches ` UiServiceMonoComponent ` for resolution/orientation tracking.
1818 - Tracks presenters as ** instances** : ` Dictionary<Type, IList<UiInstance>> ` where each ` UiInstance ` stores ` (Type, Address, UiPresenter) ` .
19+ - ** Editor support** : ` UiService.CurrentService ` is an ** internal** static reference used by editor windows to access the active service in play mode.
1920- ** Public API surface** : ` Runtime/IUiService.cs `
2021 - Exposes lifecycle operations (load/open/close/unload) and readonly views:
2122 - ` VisiblePresenters : IReadOnlyList<UiInstanceId> `
@@ -53,9 +54,6 @@ For user-facing docs, treat `docs/README.md` (and linked pages) as the primary d
5354 - ` PrefabRegistryUiAssetLoader ` : uses direct prefab references (useful for samples/testing). Can be initialized with a ` PrefabRegistryUiConfigs ` in its constructor.
5455 - ` ResourcesUiAssetLoader ` : uses ` Resources.Load ` .
5556 - Supports optional synchronous instantiation via ` UiConfig.LoadSynchronously ` (in Addressables loader).
56- - ** Analytics (optional)** : ` Runtime/UiAnalytics.cs `
57- - ` IUiAnalytics ` /` UiAnalytics ` track lifecycle events + basic timings; defaults to ` NullAnalytics ` .
58- - ` UiService.CurrentAnalytics ` is an ** internal** static reference used by editor windows.
5957
6058## 3. Key Directories / Files
6159- ** Docs (user-facing)** : ` docs/ `
@@ -74,11 +72,11 @@ For user-facing docs, treat `docs/README.md` (and linked pages) as the primary d
7472 - If interaction/layout is off but service bookkeeping looks correct, look here before changing ` UiService ` .
7573- ** Editor** : ` Editor/ ` (assembly: ` Editor/GameLovers.UiService.Editor.asmdef ` )
7674 - Config editors: ` UiConfigsEditorBase.cs ` , ` *UiConfigsEditor.cs ` , ` DefaultUiConfigsEditor.cs ` .
77- - Debugging: ` UiAnalyticsWindow.cs ` , ` UiServiceHierarchyWindow .cs` , ` UiPresenterEditor.cs ` .
75+ - Debugging: ` UiPresenterManagerWindow .cs` , ` UiPresenterEditor.cs ` .
7876- ** Samples** : ` Samples~/ `
79- - Demonstrates basic flows, data presenters, delay features, UI Toolkit integration, analytics .
77+ - Demonstrates basic flows, data presenters, delay features, UI Toolkit integration.
8078- ** Tests** : ` Tests/ `
81- - ` Tests/EditMode/* ` — unit tests (configs, sets, analytics, loaders, core service behavior)
79+ - ` Tests/EditMode/* ` — unit tests (configs, sets, loaders, core service behavior)
8280 - ` Tests/PlayMode/* ` — integration/performance/smoke tests
8381
8482## 4. Important Behaviors / Gotchas
@@ -150,5 +148,5 @@ When you need third-party source/docs, prefer the locally-cached UPM packages:
150148## 8. Update Policy
151149Update this file when:
152150- Public API changes (` IUiService ` , ` IUiServiceInit ` , presenter lifecycle, config formats)
153- - Core runtime systems/features are introduced/removed (features, views, analytics, multi-instance)
151+ - Core runtime systems/features are introduced/removed (features, views, multi-instance)
154152- Editor tooling changes how configs or sets are generated/serialized
0 commit comments