11 lines
153 B
GDScript
11 lines
153 B
GDScript
extends Node3D
|
|
|
|
|
|
func _ready() -> void:
|
|
set_multiplayer_authority(1)
|
|
|
|
|
|
@rpc("any_peer", "call_local", "reliable")
|
|
func pick_up() -> void:
|
|
queue_free()
|