mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-22 09:43:47 +00:00
Updated dialogic
This commit is contained in:
parent
1d11462073
commit
cbb82512ee
483 changed files with 5743 additions and 2177 deletions
|
|
@ -12,3 +12,10 @@ func _init(scene_path:Variant=null, scene_overrides:Dictionary={}):
|
|||
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>"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue