This commit is contained in:
2026-06-24 17:43:37 +09:00
parent 24f5f729e4
commit 122d59b0f5
2297 changed files with 517608 additions and 605 deletions

View File

@@ -164,6 +164,9 @@ public class InventoryManager : MonoBehaviour
public UnityEvent onMemoryPieceCompleted;
public UnityEvent onInventoryChanged;
[Header("UI")]
[SerializeField] private InventoryUI _inventoryUI;
[Header("Debug")]
[SerializeField] private bool showDebugLog = true;
@@ -791,6 +794,7 @@ private void NotifyAllItemsChanged()
onInventoryChanged?.Invoke();
}
<<<<<<< HEAD
private void NotifyMemoryPieceProgress()
{
int current = GetItemCount(memoryPieceItemType);
@@ -822,6 +826,13 @@ private void NotifyMemoryPieceProgress()
public void DebugClearInventory() => ClearInventory();
public void DebugDeleteSave() => DeleteSavedInventory();
=======
public void InventoryUIToggle()
{
_inventoryUI.gameObject.SetActive(!_inventoryUI.gameObject.activeSelf);
}
>>>>>>> 695f9b7a14841768ae101b4395af63c4ab86d096
#if UNITY_EDITOR
private void OnValidate()
{