chore: change to safely access nameof(_serviceScope)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user