block improvements, autolock improvements and auto off, block button auto on/off, recoil anim improvement

This commit is contained in:
2025-08-20 11:03:40 +02:00
parent f1c59e80ae
commit 3b07a6f937
18 changed files with 784 additions and 628 deletions

View File

@@ -12,6 +12,7 @@ namespace Beyond
public Button ActionButton;
public Button LadderButton;
public Button CrouchButton;
public Button BlockButton;
public GameObject AttackButton;
public GameObject SpellButton;
public GameObject ComsumableButton;
@@ -216,10 +217,12 @@ return left.CompareTo(right) >= 0;
if (state == GameStateManager.State.COMBAT)
{
DashButton.gameObject.SetActive(true);
BlockButton.gameObject.SetActive(true);
}
else if (state == GameStateManager.State.NORMAL)
{
DashButton.gameObject.SetActive(false);
BlockButton.gameObject.SetActive(false);
}
}