update to unity 6.2, add save system and quest system
This commit is contained in:
@@ -7,6 +7,8 @@ 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);
|
||||
|
||||
Reference in New Issue
Block a user