6 lines
187 B
GDScript
6 lines
187 B
GDScript
extends Node
|
|
|
|
func _input(event: InputEvent) -> void:
|
|
if event is InputEventKey and event.pressed and event.keycode == KEY_C:
|
|
Network.connect_and_join("ws://prospera:2567", "my_room")
|