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

Add a note about Object._init and required parameters in relation to @rpc

This commit is contained in:
elenakrittik
2025-01-28 16:45:30 +03:00
committed by Rémi Verschelde
parent 48f361a6eb
commit 2253c0f470

View File

@@ -783,6 +783,7 @@
@rpc("authority", "call_remote", "unreliable", 0) # Equivalent to @rpc
func fn_default(): pass
[/codeblock]
[b]Note:[/b] Methods annotated with [annotation @rpc] cannot receive objects which define required parameters in [method Object._init]. See [method Object._init] for more details.
</description>
</annotation>
<annotation name="@static_unload">