Items droppen
This commit is contained in:
parent
40b2ab5bde
commit
a0c4ce5ec1
|
@ -136,6 +136,10 @@ public class Character : MonoBehaviour
|
||||||
Invoke(nameof(ResetJump), jumpCooldown);
|
Invoke(nameof(ResetJump), jumpCooldown);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (Input.GetKeyDown(KeyCode.G))
|
||||||
|
{
|
||||||
|
PickupItem(null);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void MovePlayer()
|
private void MovePlayer()
|
||||||
|
|
Loading…
Reference in New Issue