block improvements, autolock improvements and auto off, block button auto on/off, recoil anim improvement
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user