Good afternoon, could anyone help me with some C# code?
I'm trying to make a shooting system, like those ship games.
But it's not working very well, no shots are moving.

11 Replies
like this?

Don't forget the assignment operator
=
.where do I have to add it?

like this?

Adjust this value based on your test. I don't use Unity here so I don't know what the appropriate value for it is.
I did this, but the script is not being passed to the clones

You need to change and apply the value on prefabs too.
Press overrides -> apply
Top left in the inspector