public void PickUp(WorldItem itemToBeGrabbed) { if (AddItem(itemToBeGrabbed.inventoryItem.Clone())) { ResourceManager.HideItem(itemToBeGrabbed); } else { ErrorScript.DisplayError("No more room"); } }
void Awake() { m_DataInstance = this; }