20 lines
398 B
GDScript3
20 lines
398 B
GDScript3
|
extends Control
|
||
|
|
||
|
const scene_ile1_path : String = "res://scenes/iledetest.tscn"
|
||
|
const scene_return_path : String = "res://scenes/interface/page_server.tscn"
|
||
|
|
||
|
func _ready():
|
||
|
ResourceLoader.load_threaded_request(scene_return_path)
|
||
|
|
||
|
|
||
|
func _on_perso_pressed():
|
||
|
get_tree().change_scene_to_file(scene_ile1_path)
|
||
|
|
||
|
|
||
|
func _on_return_button_down():
|
||
|
get_tree().change_scene_to_file(scene_return_path)
|
||
|
|
||
|
|
||
|
|
||
|
|