11 lines
177 B
GDScript3
11 lines
177 B
GDScript3
|
|
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())
|