pandemonium_demo_projects/networking/network_synchronizer/PlayerCamera.gd

9 lines
116 B
GDScript3
Raw Normal View History

extends Camera
func _ready() -> void:
if is_network_master():
current = true
else:
set_process_input(false)