Initial push
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://dd3obeotog37w"]
|
||||
|
||||
[sub_resource type="GDScript" id="GDScript_flq8k"]
|
||||
script/source = "extends Node
|
||||
|
||||
@rpc(\"any_peer\", \"call_local\", \"reliable\")
|
||||
func ring_bell(id: int) -> void:
|
||||
$BellLabel.text = str(id) + \" has rung the bell!\"
|
||||
await get_tree().create_timer(1.0).timeout
|
||||
$BellLabel.text = \"\"
|
||||
"
|
||||
|
||||
[node name="RPCHandler" type="Node"]
|
||||
script = SubResource("GDScript_flq8k")
|
||||
Reference in New Issue
Block a user