1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-12 13:20:55 +00:00

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;
}
}
}