primitive working dialog bubble
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user