Search Unity

  1. Calling all beginners! Join the FPS Beginners Mods Challenge until December 13.
    Dismiss Notice
  2. It's Cyber Week at the Asset Store!
    Dismiss Notice

Code error, new to scripting plz help :)

Discussion in '2D' started by nathansteendam, Mar 2, 2019.

  1. nathansteendam

    nathansteendam

    Joined:
    Mar 2, 2019
    Posts:
    7
    Movement won't work, seriously new to coding! How do I fix this error? code.JPG
    error.JPG
     
  2. RidgeWare

    RidgeWare

    Joined:
    Apr 12, 2018
    Posts:
    65
    The error is pointing to a method called 'NewMethod' at line 34, but your script excerpt isn't showing that method.

    Have you saved your VisualStudio project fully before running it in UnityEditor?