ajout du plugin dialogical

This commit is contained in:
2026-01-10 13:00:58 +01:00
parent 8917a02a7b
commit c130c47042
884 changed files with 49385 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
@tool
class_name DialogicStyleLayer
extends Resource
@export var scene: PackedScene = null
@export var overrides := {}
func _init(scene_path:Variant=null, scene_overrides:Dictionary={}):
if scene_path is PackedScene:
scene = scene_path
elif scene_path is String and ResourceLoader.exists(scene_path):
scene = load(scene_path)
overrides = scene_overrides
func _to_string() -> String:
if scene:
return "<Layer:" + scene.resource_path + " {" + str(len(overrides)) + " overrides} >"
else:
return "<Layer:no-scene>"