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
1 changed files with 1 additions and 1 deletions
|
|
@ -48,7 +48,7 @@ namespace GodotPlugins.Game
|
|||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
Console.Error.WriteLine(e);
|
||||
System.Console.Error.WriteLine(e);
|
||||
return false.ToGodotBool();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue