14 lines
401 B
GDScript3
14 lines
401 B
GDScript3
|
@tool
|
||
|
extends Node2D
|
||
|
|
||
|
@export var scene_config: SceneConfig
|
||
|
@export var foreground: ParallaxBackground
|
||
|
@export var background: ParallaxBackground
|
||
|
|
||
|
# Called when the node enters the scene tree for the first time.
|
||
|
func _ready() -> void:
|
||
|
foreground = get_node_or_null("/root/Main/ParallaxForeground")
|
||
|
background = get_node_or_null("/root/Main/ParallaxBackground")
|
||
|
if Engine.is_editor_hint():
|
||
|
return
|