After spending 3 days learning all the quirks and ends and outs of Unity I could from the documentation (which by the way, yall have done a WONDERFUL job of doing (still needs more though :shock: ), I’ve stumbled upon a problem.
In my .cs script, I am trying to spawn a bullet prefab. From the examples shown, it was saying to do something similar to this:
if(firecounter == 1) // first shot fire
{
totalshots++;
//shot = new GameObject ("shot" + totalshots);
// spawn one object in the middle front of me
}
...
and add components to it… but I never found out how to add a model to that, so I threw that out.
I then looked up and it said something about use Object and Instantiate and use such… but it kept throwing up an error saying it couldn’t find my bullet prefab.
Any suggestions as to what I’m doing wrong?