Files
GodotPlayground/Sources/GodotProject/LabelTest.cs

14 lines
305 B
C#

using Godot;
public partial class LabelTest : Label
{
public override void _Input(InputEvent @event)
{
if (@event is InputEventKey eventKey && eventKey.Pressed && eventKey.Keycode == Key.Space)
{
Text = SampleLib.SampleClass.SuperSampleString();
}
}
}