primitive working dialog bubble

This commit is contained in:
2022-12-01 20:25:36 +01:00
parent f093d3c0b5
commit c4500b09f4
7 changed files with 33 additions and 25 deletions

View File

@@ -3,13 +3,10 @@ using System;
public partial class dialog_bubble : CanvasLayer
{
public override void _Ready()
public void ImportString(string dialogTitle, string printedDialog)
{
Show();
ImportString();
}
public void ImportString()
{
Visible = !Visible;
GetNode<Label>("TextLabel").Text = printedDialog;
GetNode<Label>("NameLabel").Text = dialogTitle;
}
}