19 lines
271 B
C#
19 lines
271 B
C#
|
using Godot;
|
||
|
using System;
|
||
|
|
||
|
public class Main : Node2D
|
||
|
{
|
||
|
public override void _Ready()
|
||
|
{
|
||
|
|
||
|
}
|
||
|
|
||
|
public override void _Process(float delta)
|
||
|
{
|
||
|
if (Input.IsActionJustPressed("quit"))
|
||
|
{
|
||
|
GetTree().Quit();
|
||
|
}
|
||
|
}
|
||
|
}
|