Items droppen

This commit is contained in:
Simon Lübeß 2024-04-07 00:15:37 +02:00
parent 40b2ab5bde
commit a0c4ce5ec1
1 changed files with 4 additions and 0 deletions

View File

@ -136,6 +136,10 @@ public class Character : MonoBehaviour
Invoke(nameof(ResetJump), jumpCooldown);
}
if (Input.GetKeyDown(KeyCode.G))
{
PickupItem(null);
}
}
private void MovePlayer()