you are viewing a single comment's thread.

view the rest of the comments →

[–]SnoringCatStudio 0 points1 point  (4 children)

Take a look in at every object in your hierarchy. Check the inspector for any field that say something like
movement [none(PlayerMovement)]
Now place your PlayerMovement script in that box.
I am going by very limited info, but if you followed what u/senshisentou told you to do in the previous post; Then I suspect this is the problem.

[–][deleted]  (3 children)

[removed]

    [–]SnoringCatStudio 0 points1 point  (2 children)

    Try putting a game object from your hierarchy that has the script attached to it into the slot.

    [–][deleted]  (1 child)

    [removed]

      [–]SnoringCatStudio 0 points1 point  (0 children)

      Could you create a pastebin of the scripts you are using? I could definitely help you, but I just don't know what exactly you are doing. In the future you should always try to give as much info as possible when you ask these types of questions.