20 lines
376 B
C#
20 lines
376 B
C#
using Godot;
|
|
|
|
public partial class UIHandler : Control
|
|
{
|
|
public override void _Ready()
|
|
{
|
|
|
|
}
|
|
|
|
// Called every frame. 'delta' is the elapsed time since the previous frame.
|
|
public override void _Process(double delta)
|
|
{
|
|
if (Input.IsActionJustPressed("codingwindow"))
|
|
{
|
|
GetNode<Panel>("./CodingWindow").Visible = !GetNode<Panel>("./CodingWindow").Visible;
|
|
}
|
|
}
|
|
|
|
}
|