We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 776aeb9 commit e195ddaCopy full SHA for e195dda
docs/v6_NEW_UI_CHANGES.md
@@ -110,7 +110,7 @@ string mcpServerPath = MCPServiceLocator.Paths.GetMcpServerPath();
110
**Benefits:**
111
- No constructor dependencies (easy to use anywhere)
112
- Lazy initialization (services created only when needed)
113
-- Testable (supports custom implementations via `SetCustomImplementation()`)
+- Testable (supports custom implementations via `Register()`)
114
115
---
116
@@ -268,7 +268,7 @@ var paths = MCPServiceLocator.Paths;
268
```csharp
269
// In test setup
270
var mockBridge = new MockBridgeService();
271
-MCPServiceLocator.SetCustomBridgeService(mockBridge);
+MCPServiceLocator.Register(mockBridge);
272
273
// Services are now testable without Unity dependencies
274
```
0 commit comments