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