Search Unity

Movement programming

Discussion in 'Scripting' started by Treake, Jul 26, 2021.

  1. Treake

    Treake

    Joined:
    Jul 26, 2021
    Posts:
    1
    I would like someone's help to correct two syntax errors that despite finding them in their lines and columns this one keeps jumping error and I do not know what I should change to make this Captura de pantalla (23).png imagen_2021-07-26_132109.png work.
     
  2. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    38,742
    The complete error message contains everything you need to know to fix the error yourself.

    Remember: NOBODY memorizes error codes. The error code is absolutely the least useful part of the error. It serves no purpose at all. Forget the error code. Put it out of your mind.

    Always start with the FIRST error in the list, as sometimes that error causes or compounds some or all of the subsequent errors.

    The important parts of the error message are:

    - the description of the error itself (google this; you are NEVER the first one!)
    - the file it occurred in (critical!)
    - the line number and character position (the two numbers in parentheses)

    All of that information is in the actual error message and you must pay attention to it. Learn how to identify it instantly so you don't have to stop your progress and fiddle around with the forum.

    How to understand compiler and other errors and even fix them yourself:

    https://forum.unity.com/threads/ass...3-syntax-error-expected.1039702/#post-6730855

    If you post a code snippet, ALWAYS USE CODE TAGS:

    How to use code tags: https://forum.unity.com/threads/using-code-tags-properly.143875/

    Beyond that, how to report your problem productively in the Unity3D forums:

    http://plbm.com/?p=220