public void PickUpResource() { if (Input.GetKeyDown(KeyCode.Space)) { ResourceHolder.AddToBackPack(this); } }