xiandie/scene/popup/prop_inspector_2d.gd

13 lines
265 B
GDScript3
Raw Normal View History

2024-12-23 01:29:31 +00:00
extends CanvasLayer
@onready var panel := %Panel
@export var shown := false:
set(val):
shown = val
panel.visible = val
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
layer = GlobalConfig.CANVAS_LAYER_PROP_INSPECTOR