12 lines
193 B
C#
12 lines
193 B
C#
using Godot;
|
|
using System;
|
|
|
|
public partial class RestartButton : Button
|
|
{
|
|
public override void _Pressed()
|
|
{
|
|
GetTree().Paused = false;
|
|
GetTree().ReloadCurrentScene();
|
|
}
|
|
|
|
}
|