Tutorial Lesson 6 Reference
This commit is contained in:
parent
e39a152df2
commit
8ed8c9ed19
15 changed files with 210 additions and 0 deletions
|
|
@ -0,0 +1,10 @@
|
|||
extends Node
|
||||
|
||||
|
||||
func _ready():
|
||||
peer_ready.rpc_id(1)
|
||||
|
||||
|
||||
@rpc("any_peer", "call_local", "reliable")
|
||||
func peer_ready():
|
||||
print("peer %s ready" % multiplayer.get_remote_sender_id())
|
||||
Loading…
Add table
Add a link
Reference in a new issue