14 lines
239 B
GDScript
14 lines
239 B
GDScript
extends Control
|
|
|
|
@export var behaviors = []
|
|
|
|
@export var title = ""
|
|
|
|
func _ready() -> void:
|
|
$CenterContainer/RichTextLabel.text = title
|
|
|
|
func activate(world, activator):
|
|
for behavior in behaviors:
|
|
behavior.activate(world, activator)
|
|
|