worked on the custom dialog system
This commit is contained in:
@@ -3,14 +3,13 @@ using System;
|
||||
|
||||
public partial class dialog_bubble : CanvasLayer
|
||||
{
|
||||
// Called when the node enters the scene tree for the first time.
|
||||
public override void _Ready()
|
||||
{
|
||||
Show();
|
||||
}
|
||||
public override void _Ready()
|
||||
{
|
||||
Show();
|
||||
ImportString();
|
||||
}
|
||||
public void ImportString()
|
||||
{
|
||||
|
||||
// Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||
public override void _Process(double delta)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
13
src/scene-scripts/gui/dialog_trigger_area.cs
Normal file
13
src/scene-scripts/gui/dialog_trigger_area.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using Godot;
|
||||
using System;
|
||||
|
||||
public partial class dialog_trigger_area : Area2D
|
||||
{
|
||||
[Export(PropertyHint.File, "*json")]
|
||||
string dialogFile;
|
||||
public override void _Ready()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user