Improved UI textbox
This commit is contained in:
@@ -1,10 +1,7 @@
|
||||
extends Node3D
|
||||
|
||||
func _ready() -> void:
|
||||
# Assign dialogue resources after the plugin has imported the .dialogue files.
|
||||
# Once the DialogueManager plugin is enabled in the editor, you can assign
|
||||
# dialogueResource directly in the Inspector instead.
|
||||
var npc:Entity = $NotPlayer
|
||||
if npc:
|
||||
npc.dialogueResource = load("res://dialogue/npc/test.dialogue")
|
||||
npc.dialogueBasePath = "res://dialogue/npc/test"
|
||||
npc.dialogueTitle = "start"
|
||||
|
||||
Reference in New Issue
Block a user