Tilt control on android device

I want to make some games that needs tilt control but i don’t know the script to make tilt control so can anybody help me a bit…

Here’s the script for simple accelerometer (tilt) working :

using UnityEngine;
using System.Collections;

public class AccelerometerInput : MonoBehaviour 
{
    void Update () 
    {
        transform.Translate(Input.acceleration.x, 0, -Input.acceleration.z);
    }
}

Simple !!!