- Home /
Problem With Javascript to Built-in Array
Basically here's the problem I have. I'm trying to create a Built-In Array that keeps track of objects within my camera view. I found it necessary however to add any objects that come into the camera view, to a Javascript Array, that way I can remove them and add them as they enter and leave the camera view. My biggest problem is that I need a way of getting the GameObjects in the Javascript Array, back into my Built-In Array. I may have already accomplished this, but another problem I found is that in almost all examples, the "Var" that handles the Built-In Array is within the Start function, which doesn't show up in the unity editor.
ps. I don't need a link to the unity docs, I've already tried those a million different ways, and they too copy the Javascript Array to the Built-In Array within the same Start Function.
Please Help! -Kit