StickerClone/addons/dialogic/Modules/Style/node_style.gd

14 lines
311 B
GDScript3
Raw Normal View History

2024-07-23 10:06:59 +00:00
class_name DialogicNode_StyleLayer
extends Control
## Control node that is hidden and shown based on the current dialogic style.
## The name this layer listens to
@export var layer_name: String = 'Default'
func _ready():
if layer_name.is_empty():
layer_name = name
add_to_group('dialogic_style_layer')