This is my code in Js
var spectrum = float[];
function Update () {
spectrum = AudioSource.GetOutputData(1024, 0);
}
Somehow (sorry if I am wrong), unity says to me that in the line of “var spectrum = float;” there is missing a semicolon. Do someone know how to fix this?