Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

How do I fix this?

My "PlayerShoot" ScriptI am new in game development 😥.

These are the errors!!!!


My "PlayerShoot" Script

Thanks for Help!

Best Answers

  • MouledouxMouledoux Member
    Accepted Answer

    Line 37, PlayerShoot.cs

    currentWeapon is not set to anything.

  • WarpWarp Administrator
    Accepted Answer

    It tells you the problem.

    currentWeapon is not set to an instance of an object.

    Set it in the inspector, or in script.


Sign In or Register to comment.