Inputs / Controls
Inside the FlashlightController & FlashlightInteractor script you will find a method called:
void PlayerInput()
{
//INPUT CODE
}
if (Input.GetKeyDown(FLInputManager.instance.flashlightSwitch)) //TURNING FLASHLIGHT ON/OFF
}
//INPUTS
}
if (Input.GetKey(FLInputManager.instance.reloadBattery) && batteryCount >= 1)
{
......
}
if (Input.GetKeyUp(FLInputManager.instance.reloadBattery))
{
shouldUpdate = true;
}
if (Input.GetKeyDown(FLInputManager.instance.toggleFlashlightInv))
{
ToggleInventory();
}
Last updated
Was this helpful?