Where are Inputs located?

TKItem script

void PickupInput()
{
    if (canInteract)
    {
        if (Input.GetKeyDown(TKInputManager.instance.interactKey))
        {
            ItemAction();
        }
     }
}

TKUIManager script

private void Update()
{
    if (Input.GetKeyDown(TKInputManager.instance.openInventoryKey))
    {
        OpenInventory();
    }
}

Last updated