Hello,
I am certain my code is identical and my console (as seen in the video) reports no errors. The emission.isEnabled works correctly too as it is toggled by the ‘fire’ key, but no particles are emitted. Any suggestions? I tried fiddling almost all the settings in the inspector. If it helps, here is a video of it in action (after turning off the animator).
This is perhaps the third or fourth time my code/project has not behaved as expected. It’s not the fault of your code, it seems that I’m having problems with Unity. I generally need to restart Unity for many of the changes to work and a fresh install hasn’t done anything. I’ve upgraded but not downgraded, I’ll try that too. I expect that my Unity installation could be to blame for this problem too unless I’m missing something obvious. It’s getting to the point where it’s affecting my morale.
I’m going to carry on with the broken weapons for now just to finish the project.