Roll A Ball Beginner Tutorial in Android controls

Thanks for the great tutorial for beginner. I have successfully built the game and understood the theory behind the scripting.

I was just wondering, can we build the game for Android instead of the PC? and if we do so, how are we going to control the ball in a touch screen.

current PC setting use the directional arrows but in touch screen there are no arrow buttons

any reply will be greatly appreciated

Thank You

Try implementing this into your code, ^~^

 moveHorizontal = Input.acceleration.x;
 moveVertical = Input.acceleration.y;                        
 Vector3 movement = new Vector3 (moveHorizontal, 0.0f, moveVertical);
 rb.AddForce (movement * speed * 2);