Where are the Inputs?
Where is the input reference?
Changing the Inputs
SafeController
private void Update()
{
if (!canClose && isInteracting && Input.GetKeyDown(closeKey))
{
CloseSafeUI();
}
}SafeInteractor
if (safe != null)
{
if (Input.GetKeyDown(interactKey))
{
safe.ShowSafeLock();
}
}SafeTrigger
void ShowSafeInput()
{
if (canUse && Input.GetKeyDown(triggerInteractKey))
{
SafeUIManager.instance.SetInteractPrompt(false);
_safeItemController.ShowSafeLock();
}
}Last updated