From 458cb99966663e4db23cc8246c2493998e5ceba1 Mon Sep 17 00:00:00 2001 From: CopyTIME Date: Thu, 19 Oct 2023 13:03:40 +0800 Subject: [PATCH] Change return type of "_Set" method in csharp code example Add "return false" to GDScript code example of _Set method --- doc/classes/Object.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/classes/Object.xml b/doc/classes/Object.xml index bb7289cc990..f3fd5999226 100644 --- a/doc/classes/Object.xml +++ b/doc/classes/Object.xml @@ -219,6 +219,7 @@ # Storing the value in the fake property. internal_data["fake_property"] = value return true + return false func _get_property_list(): return [ @@ -228,7 +229,7 @@ [csharp] private Godot.Collections.Dictionary _internalData = new Godot.Collections.Dictionary(); - public override void _Set(StringName property, Variant value) + public override bool _Set(StringName property, Variant value) { if (property == "FakeProperty") {