C#: Add dedicated Variant struct, replacing System.Object

This commit is contained in:
Ignacio Roldán Etcheverry 2022-07-28 17:41:49 +02:00
parent a9892f2571
commit 344f5028d4
25 changed files with 776 additions and 124 deletions

View file

@ -30,7 +30,7 @@ namespace Godot.SourceGenerators.Sample
{
public partial class NesterClass : RefCounted
{
public override object _Get(StringName property) => null;
public override Variant _Get(StringName property) => default;
}
}
}