private void Update() { if (Input.GetKey(moveTankForward)) { tankController.MoveForward(); } if (Input.GetKey(turnTankLeft)) { tankController.TurnLeft(); } if (Input.GetKey(moveTankBackward)) { tankController.MoveBackward(); } if (Input.GetKey(turnTankRight)) { tankController.TurnRight(); } if (Input.GetKeyDown(KeyCode.Space)) { turretController.Shoot(); } if (Input.GetKey(KeyCode.Q)) { turretController.TurnLeft(); } if (Input.GetKey(KeyCode.E)) { turretController.TurnRight(); } }