Where are Inputs?
Where is the input reference?
Changing the Input:
FBInputManager:
FBUIManager:
private void Update()
{
if (Input.GetKeyDown(FBInputManager.instance.inventoryKey))
{
OpenInventory();
}
}
FBInteractor:
if (raycastedObj != null)
{
if (Input.GetKeyDown(FBInputManager.instance.interactKey))
{
raycastedObj.ObjectInteract();
}
}
Last updated