I’m currently working on a project and this error (Assets/Scripts/TextControl.js(23,2): UCE0001: ‘;’ expected. Insert a semicolon at the end.) keeps appearing, I’ve searched my code over and over and I cant find where the semicolon needs to be Placed. Any help is appreciated.
Your last function has no name
Sometimes the errors are a little misleading and arise because the compiler didn’t understand something earlier. But yeah,
function ()… need to have a function name before the parentheses.