↧
How to access a colliders function or variable
So basically I have to cubes running at each other, PlayerCube and EnemyCube (both are prefabs that are being spawned at a constant rate). I have it set up so that once PlayerCube runs into EnemyCube...
View ArticleProblem calling another scripts function (JS)
So I have a script A trying to call script B's function. I get a NullReference because I am not able to get the script correctly, but I've followed the exact stuff I've seen on the forums. Why am I...
View ArticleMonoDevelop not recognizing other scripts as types
So I am working with two different javascript files scriptA.js and scriptB.js and both are in the same folder. In scriptA if I write the following code: var temp : scriptB; scriptB doesn't show up as...
View Article