You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
326 B
13 lines
326 B
extends Control
|
|
|
|
func _ready():
|
|
if DialogicUtil.autoload().has_subsystem('History'):
|
|
DialogicUtil.autoload().History.visited_event.connect(_on_visited_event)
|
|
DialogicUtil.autoload().History.unvisited_event.connect(_on_not_read_event)
|
|
|
|
func _on_visited_event() -> void:
|
|
show()
|
|
|
|
func _on_not_read_event() -> void:
|
|
hide()
|