Where are Inputs?
Last updated
Last updated
private void Update()
{
if (Input.GetKeyDown(FBInputManager.instance.inventoryKey))
{
OpenInventory();
}
}
if (raycastedObj != null)
{
if (Input.GetKeyDown(FBInputManager.instance.interactKey))
{
raycastedObj.ObjectInteract();
}
}