mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-21 08:13:48 +00:00
Updated dialogic
This commit is contained in:
parent
1d11462073
commit
cbb82512ee
483 changed files with 5743 additions and 2177 deletions
|
|
@ -58,12 +58,14 @@ func _apply_export_overrides() -> void:
|
|||
#region HANDLE PERSISTENT DATA
|
||||
################################################################################
|
||||
|
||||
func _enter_tree() -> void:
|
||||
func _init() -> void:
|
||||
_load_persistent_info(Engine.get_meta("dialogic_persistent_style_info", {}))
|
||||
|
||||
|
||||
func _exit_tree() -> void:
|
||||
Engine.set_meta("dialogic_persistent_style_info", _get_persistent_info())
|
||||
var info: Dictionary = Engine.get_meta("dialogic_persistent_style_info", {})
|
||||
info.merge(_get_persistent_info(), true)
|
||||
Engine.set_meta("dialogic_persistent_style_info", info)
|
||||
|
||||
|
||||
## To be overwritten. Return any info that a later used style might want to know.
|
||||
|
|
@ -72,7 +74,7 @@ func _get_persistent_info() -> Dictionary:
|
|||
|
||||
|
||||
## To be overwritten. Apply any info that a previous style might have stored and this style should use.
|
||||
func _load_persistent_info(info: Dictionary) -> void:
|
||||
func _load_persistent_info(_info: Dictionary) -> void:
|
||||
pass
|
||||
|
||||
#endregion
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue