Qualify Console's namespace to avoid mixup with plugin's objects
Avoid error when a plugin contains a class called "Console": Godot.SourceGenerators\Godot.SourceGenerators.GodotPluginsInitializerGenerator\GodotPlugins.Game.generated.cs(32,25): error CS0117: 'Console' does not contain a definition for 'Error'
This commit is contained in:
parent
e9de988020
commit
273df44e1d
@ -48,7 +48,7 @@ namespace GodotPlugins.Game
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
Console.Error.WriteLine(e);
|
||||
System.Console.Error.WriteLine(e);
|
||||
return false.ToGodotBool();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user