Fix Project

This commit is contained in:
2023-09-02 13:40:50 -07:00
parent 7c077179f9
commit 78a873529a
8 changed files with 22 additions and 34 deletions

14
Scripts/TestLevel.cs Normal file
View File

@@ -0,0 +1,14 @@
using Godot;
public partial class TestLevel : Node3D
{
[Export]
private Marker3D _spawnPoint;
public override void _Ready()
{
var players = GetTree().GetNodesInGroup("Player");
foreach (TestCharacter player in players)
player.Transform = _spawnPoint.Transform;
}
}