Input Locations
Where is the input reference?
Changing the Input:
PadlockController:
void Update()
{
if (isShowing && Input.GetKeyDown(PLInputManager.instance.closeKey))
{
DisablePadlock();
}
}
PadlockTrigger:
void ShowPadlockInput()
{
if (canUse && Input.GetKeyDown(PLInputManager.instance.triggerInteractKey))
{
padlockController.ShowPadlock();
}
}
PadlockInteractor:
if (padlockItem != null)
{
if (Input.GetKeyDown(PLInputManager.instance.interactKey))
{
//Logic
}
}
Last updated
Was this helpful?