Skip to content

Commit 2a956bc

Browse files
author
Miguel Cartier
committed
refactor(ui-service): integrate layer visualizer into UiConfigs editor
chore(ui-service): improve analytics window help text
1 parent fefcabf commit 2a956bc

File tree

4 files changed

+384
-400
lines changed

4 files changed

+384
-400
lines changed

Editor/UiAnalyticsWindow.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,8 @@ private void UpdateContent()
147147

148148
if (analytics == null)
149149
{
150-
var warningBox = new HelpBox("No UiService instance found. Create a UiService to enable analytics tracking.", HelpBoxMessageType.Warning);
150+
var warningBox = new HelpBox("No UiService instance found. (NullAnalytics is used by default)\n" +
151+
"Create a UiService with UiAnalytics to enable analytics tracking. (e.g. var uiService = new UiService(new UiAssetLoader(), new UiAnalytics());)", HelpBoxMessageType.Warning);
151152
_scrollView.Add(warningBox);
152153
UpdateFooter();
153154
return;

0 commit comments

Comments
 (0)