Compare commits
No commits in common. "bac6ec5f345ce26c6fe42b0770a60ef90a1d50c7" and "27598b1f82fcbbe7b09c7dc0e0ccb633471a0afc" have entirely different histories.
bac6ec5f34
...
27598b1f82
@ -341,16 +341,6 @@ public class PlayerController : CharacterBase, IObserver<GameObject>
|
||||
effect.transform.localScale = scale;
|
||||
}
|
||||
}
|
||||
|
||||
public void OnAttackButtonPressed()
|
||||
{
|
||||
if ((_currentAction == null || !_currentAction.IsActive) &&
|
||||
CurrentState != PlayerState.Win && CurrentState != PlayerState.Dead)
|
||||
{
|
||||
GameManager.Instance.PlayPlayerAttackSound();
|
||||
StartAttackAction();
|
||||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
@ -362,9 +352,9 @@ public class PlayerController : CharacterBase, IObserver<GameObject>
|
||||
return dir.sqrMagnitude > 0.01f ? dir.normalized : transform.forward;
|
||||
}
|
||||
|
||||
public void OnDashButtonPressed()
|
||||
public void DashButtonPressed()
|
||||
{
|
||||
if (!_actionDash.IsActive && CurrentState != PlayerState.Win && CurrentState != PlayerState.Dead)
|
||||
if (!_actionDash.IsActive)
|
||||
{
|
||||
StartDashAction();
|
||||
}
|
||||
|
BIN
Assets/KSH/ReDungeon.unity
(Stored with Git LFS)
BIN
Assets/KSH/ReDungeon.unity
(Stored with Git LFS)
Binary file not shown.
BIN
Assets/Prefabs/ReDungeon/Canvas.prefab
(Stored with Git LFS)
BIN
Assets/Prefabs/ReDungeon/Canvas.prefab
(Stored with Git LFS)
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user