19 lines
361 B
C#
19 lines
361 B
C#
using Godot;
|
|
using System;
|
|
|
|
public partial class Player : Node3D
|
|
{
|
|
public override void _Ready()
|
|
{
|
|
GD.Print("Hello World!");
|
|
GD.Print("Don't Panic!");
|
|
}
|
|
|
|
public override void _Process(double delta)
|
|
{
|
|
if (Input.IsActionJustPressed("ui_accept"))
|
|
{
|
|
GD.Print("Player accepted");
|
|
}
|
|
}
|
|
}
|