ile-de-test/script/interface/page_server.gd
deed 015c231338 reimportation pour beta 2 et 3
mise a jour addon
changement pages
2023-10-28 16:51:33 +02:00

15 lines
405 B
GDScript

extends Control
const scene_player_path : String = "res://scenes/interface/page_player.tscn"
const scene_return_path : String = "res://scenes/interface/page_login.tscn"
func _ready():
ResourceLoader.load_threaded_request(scene_return_path)
func _on_button_pressed():
get_tree().change_scene_to_file(scene_player_path)
func _on_return_pressed():
get_tree().change_scene_to_file(scene_return_path)