xiandie/scene/ground/script/c03/s02_closeup洋糕点.gd

16 lines
326 B
GDScript

extends CanvasLayer
@warning_ignore("unused_signal")
signal exit(arg)
@onready var bg = $BG as TextureRect
func _ready() -> void:
layer = GlobalConfig.CANVAS_LAYER_LITTLE_GAME
$ContentInspector.toggle_display.connect(_on_toggle_display)
func _on_toggle_display(displaying: bool):
$"BG有符".visible = not displaying