pausedisablesfornow
This commit is contained in:
parent
043c7142f7
commit
10e5c818ab
|
@ -17,7 +17,7 @@ public class PlayerAnimationHandler : MonoBehaviour
|
|||
}
|
||||
public void Run(bool state)
|
||||
{
|
||||
animator.SetBool("IsRunning", state);
|
||||
animator.SetBool("RunMop", state);
|
||||
}
|
||||
public void Swing(bool state)
|
||||
{
|
||||
|
|
|
@ -19,12 +19,12 @@ public class PauseMenu : MonoBehaviour
|
|||
}
|
||||
void Update()
|
||||
{
|
||||
for (int i = 0; i < Gamepad.all.Count; i++)
|
||||
Gamepad.all.ElementAtOrDefault(i);
|
||||
//for (int i = 0; i < Gamepad.all.Count; i++)
|
||||
// if(Gamepad.all[i].selectButton)
|
||||
|
||||
|
||||
// Check if the Escape key is pressed
|
||||
if (Input.GetKeyDown(KeyCode.Escape) || PlayerInput.c)
|
||||
if (Input.GetKeyDown(KeyCode.Escape))
|
||||
{
|
||||
if (isPaused)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue