diff options
| author | Matheus <matheus.guedes.mg.m@gmail.com> | 2025-08-30 22:05:09 -0300 |
|---|---|---|
| committer | Matheus <matheus.guedes.mg.m@gmail.com> | 2025-08-30 22:10:41 -0300 |
| commit | 178f9e3363f1b0bb2a04ef53ae98b689a13570f3 (patch) | |
| tree | cd2352322f2d61ed80e7710487bfcb2c3f72f636 /scripts/UI.cs | |
| parent | 2ffc4e42925d50db59033be36019773cb263f37d (diff) | |
UI
Diffstat (limited to 'scripts/UI.cs')
| -rw-r--r-- | scripts/UI.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/UI.cs b/scripts/UI.cs index fada956..781c14a 100644 --- a/scripts/UI.cs +++ b/scripts/UI.cs @@ -1,13 +1,13 @@ using Godot; using System; -public partial class UI : Node2D +public partial class UI : Node { private TextureProgressBar hpBar; public override void _Ready() { base._Ready(); - hpBar = GetNode<TextureProgressBar>("CanvasLayer/HPbar"); + hpBar = GetNode<TextureProgressBar>("CanvasLayer/MainContainer/HPbar"); } public void OnHealthChanged(int hp, int maxHp) { |
