You've already forked Darklings-FightingGame
mirror of
https://github.com/izzy2lost/Darklings-FightingGame.git
synced 2026-03-10 11:35:19 -07:00
17 lines
340 B
C#
17 lines
340 B
C#
using Demonics.UI;
|
|
using UnityEngine;
|
|
|
|
public class PauseMenu : BaseMenu
|
|
{
|
|
[SerializeField] private PlayerUI _playerUI = default;
|
|
|
|
|
|
void Update()
|
|
{
|
|
if (Input.GetButtonDown("ControllerOne" + "Pause") || Input.GetButtonDown("ControllerTwo" + "Pause") || Input.GetButtonDown("Keyboard" + "Pause"))
|
|
{
|
|
_playerUI.ClosePause();
|
|
}
|
|
}
|
|
}
|