godot-webrtc-mplayer-testing/main.gd

13 lines
203 B
GDScript

extends Node
func _on_Singleplayer_pressed():
Global.start_singleplayer_game()
func _on_CreateLobbyButton_pressed():
Global.create_lobby()
func _on_JoinLobbyButton_pressed():
Global.join_lobby()