Godot Version
GODOT 4.2.1
Question
I can`t understand this code, from this post about use of MultiplyerSynchronizer and MultiplayerSpawner(Multiplayer in Godot 4.0: Scene Replication)
@export var player := 1 :
set(id):
player = id
# Give authority over the player input to the appropriate peer.
$PlayerInput.set_multiplayer_authority(id)
Can somebody please explain, what is happening here?