add camera position switching for static view rooms

This commit is contained in:
2026-01-12 21:15:03 -06:00
parent 8eea154717
commit 6baa6956bf
23 changed files with 11034 additions and 26 deletions
+6 -5
View File
@@ -7,11 +7,12 @@ public class PickupableItem : Interactable
public override void Interact()
{
GameManager.Instance.StarShards++; // REMOVE, JUST HERE FOR TESTING BEFORE ADDING INVENTORY SYSTEM
Debug.Log("Picked up " + item.itemName + "!");
MoveOutsideRange(); // I don't love this but if we destroy the object we probably need to do this first
Destroy(gameObject);
if (GameManager.Instance.Inventory.AddItem(item))
{
Debug.Log("Picked up " + item.itemName + "!");
MoveOutsideRange(); // I don't love this but if we destroy the object we probably need to do this first
Destroy(gameObject);
}
}
public override void MoveInsideRange()