mirror of
https://github.com/Relintai/material-maker.git
synced 2024-12-23 21:16:54 +01:00
11 lines
283 B
GDScript3
11 lines
283 B
GDScript3
|
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")
|