idk i'm the only contributer so doesnt matter :/

This commit is contained in:
2023-01-27 19:25:45 +01:00
parent 5ce5dc090e
commit 077451a574
15 changed files with 135 additions and 27 deletions

View File

@@ -3,10 +3,10 @@ using System;
public partial class dialog_trigger_area : Area2D
{
[Export(PropertyHint.File, "*json")]
string dialogFile;
[Signal] public delegate void InteractDialogueEventHandler();
[Export(PropertyHint.File, "*json")] string dialogFile;
public void OnInteraction(string playerName)
{
GetNode("/root/main/dialog_bubble").Call("ImportString",dialogFile,playerName);//signal instead of call?
}
}