Setup
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
using Godot;
|
||||
using System;
|
||||
|
||||
public class Menu : Control
|
||||
{
|
||||
public override void _Process(float delta)
|
||||
{
|
||||
if (Input.IsActionJustPressed("Click"))
|
||||
{
|
||||
GetTree().ChangeScene("res://World.tscn");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user