How does RPCs work on Swift? #644
Unanswered
paulovbettio
asked this question in
Q&A
Replies: 2 comments
-
The So you would need to call that method with the parameters you desire once your Node is created. We do lack examples or a tutorial for this. As an aside, it might be nice to add an |
Beta Was this translation helpful? Give feedback.
0 replies
-
Bug to track the feature: #645 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
In Godot's High-Level Multiplayer API, functions must be declared with the [Rpc] attribute in C# to make them callable by peers. Additionally, attributes like TransferMode can be set for specific RPC configurations. Here's an example in C#:
How do I declare a function as an RPC in Swift to make it callable by peers? If there are any examples or references for implementing high-level multiplayer features in Swift, that would be greatly appreciated.
Beta Was this translation helpful? Give feedback.
All reactions