#pragma strict
public var noBounces = 0;
function OnColliderHit(other:Collider){
if(other.tag=="ball"){
noBounces+=1;
}
}
I know that people have been having this problem with C# and it was to do with name spacing but I'm using java and I don't know what is causing the error.
Any help would be appeased.
Thanks Joe
↧