void FixedUpdate() { if (Input.GetKey(KeyCode.V)) { owner.increaseEngineIntensity(1f); } if (Input.GetKey(KeyCode.C)) { owner.increaseEngineIntensity(1f / 3f * Time.fixedDeltaTime); } if (Input.GetKey(KeyCode.X)) { owner.increaseEngineIntensity(-1f / 3f * Time.fixedDeltaTime); } if (Input.GetKey(KeyCode.Z)) { owner.increaseEngineIntensity(-1f); } if (Input.GetKey(KeyCode.W)) { owner.turnUp(); } if (Input.GetKey(KeyCode.S)) { owner.turnDown(); } if (Input.GetKey(KeyCode.A)) { owner.turnLeft(); } if (Input.GetKey(KeyCode.D)) { owner.turnRight(); } if (Input.GetKey(KeyCode.Q)) { owner.turnRollLeft(); } if (Input.GetKey(KeyCode.E)) { owner.turnRollRight(); } if (Input.GetKey(KeyCode.BackQuote)) { interfaceScript.clearSelection(); } if (Input.GetKey(KeyCode.Alpha1)) { interfaceScript.equipmentSetState(Equipment.State.TurnedOff); } if (Input.GetKey(KeyCode.Alpha2)) { interfaceScript.equipmentSetState(Equipment.State.TurnedOn); } if (Input.GetKey(KeyCode.Alpha3)) { interfaceScript.equipmentSetState(Equipment.State.Active); } if (Input.GetKey(KeyCode.Alpha4)) { interfaceScript.equipmentSetState(Equipment.State.Overdrive); } if (Input.GetKeyDown(KeyCode.N)) { toggleInterfaceVisibility(); } if (Input.GetKeyDown(KeyCode.I)) { toggleInstructionsPanel(); } }