Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | yeeshu06 | |
Old Version | Published before Godot 3 was released. |
Good day,
I made a texture button (refresh) to reload the scene if the player wants to start again… and it does load the scene, but its stuck. It does not want to play. any ideas?
here is simply what i did:
extends TextureButton
func _ready():
connect("pressed",self,"_on_pressed_refresh")
func _on_pressed_refresh():
get_node("/root/global").setScene("res://SecondScene.tscn")
there isn’t such setScene
method. did you make it?
volzhs | 2017-05-30 17:41