mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-11 12:05:54 +00:00
Dialogue System
This commit is contained in:
parent
77765a581e
commit
1fa77f0c03
690 changed files with 46698 additions and 14 deletions
12
addons/dialogic/Example Assets/already_read_indicator.gd
Normal file
12
addons/dialogic/Example Assets/already_read_indicator.gd
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
extends Control
|
||||
|
||||
func _ready() -> void:
|
||||
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()
|
||||
Loading…
Add table
Add a link
Reference in a new issue