Where The Inputs Are Located?
KCInteractor script:
This is the input that will go on each object and allow for interaction
void PickupInput()
{
if (canInteract)
{
if (Input.GetKeyDown(interactKey))
{
ItemAction();
}
}
}KCInventory script:
This is the input for opening and closing the inventory display
private void Update()
{
if (Input.GetKeyDown(openInventoryKey))
{
OpenInventory();
}
}Last updated