chore: change to safely access nameof(_serviceScope)

This commit is contained in:
redglow
2026-07-17 10:28:46 +02:00
parent 90f227d794
commit 659baff30c
2 changed files with 26 additions and 22 deletions
+2 -3
View File
@@ -1,18 +1,17 @@
#if TOOLS
using Godot;
using GodotHostTest.addons.godot_di;
namespace GodotHostTest.GodotDI;
[Tool]
public partial class GodotDI : EditorPlugin
{
private ScopeInspectorPlugin? _plugin;
private ServiceSource.ScopeInspectorPlugin? _plugin;
public override void _EnterTree()
{
GD.Print("Initializing Godot DI");
_plugin = new ScopeInspectorPlugin();
_plugin = new ServiceSource.ScopeInspectorPlugin();
AddInspectorPlugin(_plugin);
}