17 lines
418 B
C#
17 lines
418 B
C#
|
using UnityEngine.InputSystem;
|
||
|
|
||
|
// ReSharper disable once CheckNamespace
|
||
|
namespace BlueWaterProject
|
||
|
{
|
||
|
public class CombatMenuPopupUi : MenuPopupUi
|
||
|
{
|
||
|
public override void Close()
|
||
|
{
|
||
|
base.Close();
|
||
|
|
||
|
if (!CombatUiManager.Inst.IsPopupListEmpty()) return;
|
||
|
|
||
|
FindAnyObjectByType<PlayerInput>().SwitchCurrentActionMap(CombatInput.COMBAT);
|
||
|
}
|
||
|
}
|
||
|
}
|