Step 4 - Input Manager
Add the Input Manager
Referencing the Input Manager
//Add this namespace to the top of the script to reference the adventure kit
using AdventurePuzzleKit;
//All the default key inputs you can use, more can be added for your own purposes!
public KeyCode pickupKey;
public KeyCode openInventoryKey;
public KeyCode padlockCloseKey;
public KeyCode triggerInteractKey;
public KeyCode equipMaskKey;
public KeyCode replaceFilterKey;
public KeyCode closeNoteKey;
public KeyCode reverseNoteKey;
public KeyCode interactKey;
public KeyCode rotateKey;
public KeyCode dropKey;
public KeyCode flashlightSwitch;
public KeyCode reloadBattery;
//As an example, see below - You can use instance.KeyName based on the list above
AKInputManager.instance.equipMaskKey
Basic Input Manager Setup

Last updated
Was this helpful?