For context, I was using the above tutorial.
my current code:
the issues:
script in inspector:
unsure if needed, but script was keyed to the sideweapons tab
For context, I was using the above tutorial.
my current code:
the issues:
script in inspector:
unsure if needed, but script was keyed to the sideweapons tab
That’s a bit weird, check line 38
yeah, removed that instance of muzzlePoint and it immediately fixed it, ty!
Line 38 should be:
_beam.SetPosition(1,hitPosition);
Also, make sure the script name matches the class name - sidelaser.
Finally, try restarting Unity to fix the layout issue.