Question by
StoCoBoLo · Jul 07, 2017 at 05:35 PM ·
scripting problem
Unity compiler is asking me to add a semi colon even though I dont need it.
window.onload = function()
{
canvas = document.getElementById('gameCanvas');
canvasContext = canvas.getContext('2d');
var framespPerSecord = 144;
setInterval(callBoth, 1000/framespPerSecord);
var audio = new Audio('Music1.wav');
audio.loop = true;
audio.play();
} //THIS IS LINE 33
this is my code Assets/Script/PingPongJS.js(33,18): UCE0001: ';' expected. Insert a semicolon at the end.
this is the error message
Comment
Your answer
Follow this Question
Related Questions
Toggle direction 0 Answers
2d game in 3d game? 0 Answers
level manger and starting scene will not work together 0 Answers