xiandie/scene/main.gd

15 lines
273 B
GDScript

extends Node2D
@export var scene_config: SceneConfig:
set(val):
scene_config = val
_load_scene_config()
func _ready() -> void:
$UILayer.layer = GlobalConfig.CANVAS_LAYER_VIGNETTE
_load_scene_config()
func _load_scene_config() -> void:
if !scene_config:
return