Updated dialogic

This commit is contained in:
MaddoScientisto 2026-01-05 16:00:41 +01:00
commit cbb82512ee
483 changed files with 5743 additions and 2177 deletions

View file

@ -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