final tutorial setup and UI fix
This commit is contained in:
@@ -601,7 +601,7 @@ public partial class PlayerController : CharacterBody3D
|
||||
public void PowerRecharging(float delta)
|
||||
{
|
||||
var progress = (float) (_powerCooldownTimer.TimeLeft / _powerCooldownTimer.WaitTime);
|
||||
PowerCooldownIndicator.SetSize(new Vector2(100 * progress, 10));
|
||||
PowerCooldownIndicator.SetCustomMinimumSize(new Vector2(100 * progress, 10));
|
||||
}
|
||||
public void StartPowerCooldown()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user