Attach the following script to your Camera. You can set the variables from your editor. I would advice you to get into scripting if you want things like this to happen.
EDIT: This code rotates the camera on its Z axis once per frame, when during this frame it detects a KeyDown event. When detecting the KeyUp event it rotates it back to its original Z value, nullifying the tilt.
using UnityEngine;
using System.Collections;
public class CamTilt : MonoBehaviour {
//Editor variables, you can customize these
public float _tiltAmount = 5;
public KeyCode _leftBtn = KeyCode.A; //A is default
public KeyCode _rightBtn = KeyCode.D; //D is default
// Update is called once per frame
void Update () {
// If _leftBtn key is hit, rotate Z axis of camera by _tiltAmount
if (Input.GetKeyDown (_leftBtn)) {
this.transform.Rotate (0, 0, _tiltAmount);
} else if (Input.GetKeyUp (_leftBtn)) {
this.transform.Rotate (0, 0, -_tiltAmount);
}
// Same as above, but inverted values
if (Input.GetKeyDown (_rightBtn)) {
this.transform.Rotate (0, 0, -_tiltAmount);
} else if (Input.GetKeyUp (_rightBtn)) {
this.transform.Rotate (0, 0, _tiltAmount);
}
}
}