I’ve seen some confusion over the difference betweentheGetKeyStatefunctionandtheGetAsyncKeyStatefunction. GetKeyStatereturns the virtual key state. In other words,GetKeyStatereports the state of the keyboardbased on the messages you have retrieved from your input queue. This is not the same as th...
{ public static bool enabled; static bool Load(UnityModManager.ModEntry modEntry) { modEntry.OnUpdate = OnUpdate; return true; } static void OnUpdate(UnityModManager.ModEntry modEntry, float dt) { if (Input.GetKeyDown(KeyCode.F1)) { Player.health = 9999f; Player.weapon.ammo = 9999f;...