Some changes
This commit is contained in:
@@ -1 +1,10 @@
|
||||
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.dialogueTitle = "start"
|
||||
|
||||
Reference in New Issue
Block a user