mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-18 15:53:46 +00:00
Dialogue System
This commit is contained in:
parent
77765a581e
commit
1fa77f0c03
690 changed files with 46698 additions and 14 deletions
14
addons/dialogic/Resources/dialogic_style_layer.gd
Normal file
14
addons/dialogic/Resources/dialogic_style_layer.gd
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
@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
|
||||
Loading…
Add table
Add a link
Reference in a new issue