Search Unity

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:
    67
    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?