16 lines
326 B
GDScript
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
|