var bullet : Transform;
function Update () {
if (Input.GetTouch(0).phase == TouchPhase.Began) {
var touchPos = Input.GetTouch (0).position;
var createPos = Camera.main.ScreenToWorldPoint (Vector3(touchPos.x,touchPos.y, 10));
Instantiate (bullet, Vector3(createPos.x, createPos.y, 0), Quaternion.identity);
}
}