Merge cont

This commit is contained in:
2023-07-17 13:10:38 -07:00
parent 86b8ddc3f0
commit f15e1031bd
6 changed files with 77 additions and 5 deletions

15
Scripts/DebugText.cs Normal file
View File

@@ -0,0 +1,15 @@
using Godot;
public partial class DebugText : TextEdit
{
private Player _playerNode;
public override void _Ready()
{
_playerNode = GetNode<Player>("/root/Main/Player");
}
public override void _Process(double delta)
{
Text = $"Can Shoot: {_playerNode.CanShoot}";
}
}