I am scripting a fireball but I am missing the Bullet Prefab… any help?
Razor,
I’d like to help you with your problem, I really would, but you haven’t given enough information that I can use to do that.
If you want help from this site, you’ll have to be specific about the problem you’re having, where the error comes from (and what the message says) and what you’re trying to achieve. Posting screenshots and code also usually helps (but that’s not to say that you should post hundreds of lines of irrelevant code).
That being said, from what I’ve read - and if I were to take a guess - I’d say you haven’t loaded the prefab into the slot for the gameobject that is supposed to instantiate it, but, like I said, without better information there’s very little I can do but guess.
Please feel free to comment on this answer with more specifics, or edit your original question to have a better, more understandable context for the question and I’ll gladly try again.
It doesn’t matter it was a scripting error i typed ver instead of var in “var bulletPrefab:Transform;”