You've already forked godot
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:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user