Add loading when load warcraft scene

This commit is contained in:
VAILLANT Jeremy
2021-05-09 17:10:40 +02:00
parent 275c0a080f
commit 78b566f5b8
4 changed files with 31 additions and 17 deletions
+2 -1
View File
@@ -1,4 +1,5 @@
extends Control
# Load scene warcraft
func _on_WarCraft_pressed():
get_tree().change_scene("res://scenes/levels/WarCraft.tscn")
Global.goto_scene("res://scenes/levels/WarCraft.tscn")