Hi,I’m working at a game,I’ve created the terrain but I can’t find the weapon script.
P.S. How can I create an animation?
I’d suggest reading all the tutorials (and following them). Chances are you’ll have to create your own scripts for most things, and the script reference will help you to do this.
you have more ways to do that. You can make bullet a prefab and clone it and shoot it to the direction that your gun is pointing or you can add rigidbody to the bullet, make it a prefab and clone it and shoot it by adding force. you can clone object with instantiate function.