mirror of
https://github.com/Relintai/material-maker.git
synced 2024-11-13 06:27:18 +01:00
11 lines
283 B
GDScript
11 lines
283 B
GDScript
extends Control
|
|
|
|
func _ready():
|
|
call_deferred("change_scene")
|
|
|
|
func change_scene():
|
|
if Directory.new().file_exists("res://material_maker/main_window.tscn"):
|
|
get_tree().change_scene("res://material_maker/main_window.tscn")
|
|
else:
|
|
get_tree().change_scene("res://demo/demo.tscn")
|