Hi my unity console says that I’m missing 3 semi-colons WHERE? -I feel so dumb : (
Sorry I’m new to JS. Any help would be thanked. : )
#pragma strict
float Yh = Screen.height / 2;
float Xw = Screen.width / 2;
function Start () {
}
function Update () {
transform.eulerAngles = new Vector3(Input.mousePosition.x + Xw + transform.eulerAngles.x, Input.mousePosition.y + Yh + transform.eulerAngles.y, 0);
yield return new WaitForSeconds(5);
}