I have a script and I get errors when I compile it.
here is the code
if (Input.touchCount == 1)
{
var touch : Touch = Input.GetTouch(0);
if (touch.phase == TouchPhase.Began)
{
transform.position, Quaternion.Euler(0,0,-90);
}
}
↧