hi guys , i try to convert PC code controls to ANDROID controls , and i dont know how

#pragma strict

var rotationSpeed = 100;
var jumpHeight = 8;

private var isFalling = false;

function Update ()
{
	//Handle ball rotation.
	var rotation : float = Input.GetAxis ("Horizontal") * rotationSpeed;
	rotation *= Time.deltaTime;
	rigidbody.AddRelativeTorque (Vector3.back * rotation);
	
	if (Input.GetKeyDown(KeyCode.W) && isFalling == false)
	{
		rigidbody.velocity.y = jumpHeight;
	}
	isFalling = true;
}

function OnCollisionStay ()
{
	isFalling = false;
}

i tried evrything , i read everysingle post here but still i cant moove it on android , please someone can try to help me and tell me what i need change here to make it work

The best way as far as I know would be using CrossPlatformInput package from the standard assets. If you do not have them installed, you can find them in the asset store, but when importing, make sure you deselect ProjectSettings because it would override your project settings.

You will need to put one of the prefabs to your scene available in standard assets folder. You can also create your own layout, of course. The easiest way would be to put any prefab into the scene, edit the buttons to be arranged anyhow you like. Each button has to have a script attached (button, touch pad or joystick) with a string which defines input axis which it will modify. If you need any custom buttons like F, or W as you use it, you have to define an axis inside edit/project settings/input. Call the axis something like buttonW and make sure to assign the key to be used on PC (default positive key).

Inside your script. In the top add using UnityStandardAssets.CrossPlatformInput;. Then, change Input.GetAxis with CrossPlatformInputManager.GetAxis. Input.GetKeyDown should be written as CrossPlatformInputManager.GetButtonDown. And KeyCode.w should be replaced with the name of axis w sets to positive, of course, in quotes.