mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-05 07:05:55 +00:00
13 lines
318 B
GDScript3
13 lines
318 B
GDScript3
|
|
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() -> void:
|
||
|
|
if layer_name.is_empty():
|
||
|
|
layer_name = name
|
||
|
|
add_to_group('dialogic_style_layer')
|