created first c# setup

This commit is contained in:
2025-03-21 19:50:01 +01:00
parent 78471268db
commit e0b5a26ee6
12 changed files with 97 additions and 15 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ extends CharacterBody3D
func _physics_process(delta: float) -> void:
# Add the gravity.
if not is_on_floor():
velocity += get_gravity() * delta
velocity += Vector3.DOWN * delta
# Handle jump.
#if Input.is_action_just_pressed("ui_accept") and is_on_floor():
+15
View File
@@ -0,0 +1,15 @@
using Godot;
using System;
public partial class test : Node2D
{
// Called when the node enters the scene tree for the first time.
public override void _Ready()
{
}
// Called every frame. 'delta' is the elapsed time since the previous frame.
public override void _Process(double delta)
{
}
}