Android Multitouch

Hello, I’m still new and looking to make a really simple script, but I’m having some problems with it. What I’m trying to do is to make jump + movement works like Mario or any other plataformer2d game.
Here’s the player movement script:
void Update () {
if(Input.touchCount>1){
Touch touch=Input.GetTouch (0);
if(Input.GetTouch(0).phase==TouchPhase.Stationary){

if(touch.position.x<Screen.width/2)
transform.Translate (-Vector2.rightspeedpTime.deltaTime);
if(touch.position.x>Screen.width/2)
transform.Translate (Vector2.rightspeedpTime.deltaTime);
}
if(Input.GetTouch(0).phase==TouchPhase.Ended){
transform.Translate (-Vector2.zero);
}
}
}
And then I created a button for the jump function, and when pointdown, the player should jump, but if I’m touching anywhere else on the screen (if touch.position.x<Screen.width/2 it should jump+move left), but I cannot make it accept more then one touch.
I’ve tried changing Input.touchCount for 2 or something like that but none worked, also I dont know if it would work with Touch[ ]

Tried this on jumpbutton script:

public void Jumpbutton(){
Touch touch=Input.GetTouch (0);
if(Input.touchCount==2)
player.rigidbody.velocity=Vector2.up * jumpsp;

if (Input.touchCount > 1 && touch.position.x < Screen.width / 2) {

player.rigidbody.velocity = Vector2.up * jumpsp;
transform.Translate (-Vector2.right * speedp * Time.deltaTime);
}
if (Input.touchCount > 1 && touch.position.x > Screen.width / 2) {
transform.Translate (Vector2.right * speedp * Time.deltaTime);
player.rigidbody.velocity = Vector2.up * jumpsp;
}
}
But no multitouch working…
Hope you guys understand, lots of thanks in advance

Please read first Using code tags properly - Unity Engine - Unity Discussions
Then Unity - Scripting API: Input.touches
And finally there are a lot of tutorials for multi-touch in youtube.
For example:

Sorry for not posting with the proper code tags.
I had seen this youtube video you post, some other, but most of them do not work with 4.6. This guy in the video has one for 4.6 but it didn’t worked for me his code.
I’ve tried changing some things:

    public void LEFT () {
                for (int i=0; i<Input.touchCount; i++) {
                        if (Input.touchCount == i) {      
                                player.transform.Translate (-Vector2.right * speedp * Time.deltaTime);
                        }
                }
        }
  
public void JumpB(){
                for (int i=0; i<Input.touchCount; i++) {
                        if (Input.touchCount==i) {
                                player.rigidbody.velocity = Vector2.up * jumpsp;
                player.transform.Translate (-Vector2.right * speedp * Time.deltaTime);

                        }
                }
        }

But with this code, when I click the jump button or the left one, nothing happens, and if I make just like before, with Input.touchCount == 1, it dont work with the multitouch. What I’m doing wrong?
Thanks in advance

Tomorrow I will implement my own multi-touch and I’ll try to help you. If you will find solution earlier - let me know about it please

ok, thanks

I found this VJR (Virtual Joystick Region) Sample - Unity Engine - Unity Discussions
Its totaly covers my needs