2024-05-12 10:47:18 +00:00
|
|
|
using UnityEngine.InputSystem;
|
|
|
|
|
|
|
|
// ReSharper disable once CheckNamespace
|
|
|
|
namespace BlueWaterProject
|
|
|
|
{
|
|
|
|
public class CombatItemInventoryUi : ItemInventoryUi
|
|
|
|
{
|
|
|
|
public override void Close()
|
|
|
|
{
|
|
|
|
base.Close();
|
|
|
|
|
2024-05-13 07:21:45 +00:00
|
|
|
FindAnyObjectByType<PlayerInput>()?.SwitchCurrentActionMap(CombatInput.COMBAT);
|
2024-05-12 10:47:18 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
protected override void InitAndUpdateInventory()
|
|
|
|
{
|
|
|
|
inventory = DataManager.Inst.CombatInventory;
|
|
|
|
|
|
|
|
base.InitAndUpdateInventory();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|