Files
MedievalShopkeeper/Assets/Scripts/ShopLedger.cs

25 lines
580 B
C#
Raw Permalink Normal View History

2026-09-03 16:35:05 +01:00
using UnityEngine;
namespace MedievalShopkeeper
{
public class ShopLedger : Interactable
{
public override string InteractionPrompt => "Open Shop Inventory";
public override void Interact(PlayerController player)
{
base.Interact(player);
if (UIManager.Instance != null)
{
UIManager.Instance.OpenInventoryMenu(player);
}
else
{
Debug.LogWarning("[ShopLedger] No UIManager found to open the inventory menu!");
}
}
}
}