- Home /
Question by
YetiStudio · Apr 01, 2014 at 06:21 PM ·
cameratargetsemicolonend
UCE0001: ';' expected. Insert a semicolon at the end. "
I don't have Any Idea of what I need to do here ... Unity said "Assets/New Folder 1/CameraMovement.js(6,45): UCE0001: ';' expected. Insert a semicolon at the end."
#pragma strict
private var targetCamera:transform;
function Start () {
targetCamera = GameObject.Find("Target").transform;
}
function Update () {
}
Comment
Best Answer
Answer by missingno · Apr 01, 2014 at 06:53 PM
Transform should be capitalized in the variable declaration.
private var targetCamera:Transform;
Your answer

Follow this Question
Related Questions
How to enable a childs camera 5 Answers
camera target keep angle and y position 1 Answer
Changing camera target of CarSmoothFollow ( Js to c#) 0 Answers
Show a target above the player 0 Answers