11
This commit is contained in:
@@ -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()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user