Search Unity

Can somone help me with this?

Discussion in 'Getting Started' started by lilgrip2, Nov 12, 2018.

  1. lilgrip2

    lilgrip2

    Joined:
    Nov 12, 2018
    Posts:
    6
  2. orb

    orb

    Joined:
    Nov 24, 2010
    Posts:
    3,038
    It's better to cut and paste code, and use the code tags in the forum. But I see a bunch of typos.

    -Rigidbody2D should have a capital D
    -It's "velocity", not volecity

    I'm surprised the editor doesn't help you get the names right. Didn't it pop up suggestions while you were typing? Have you tried using an actually good editor, like Visual Studio Code?
     
    Ryiah and hippocoder like this.
  3. hippocoder

    hippocoder

    Digital Ape

    Joined:
    Apr 11, 2010
    Posts:
    29,723
    Vole City has a ring to it...
     
    Joe-Censored and orb like this.
  4. Bill_Martini

    Bill_Martini

    Joined:
    Apr 19, 2016
    Posts:
    445
    It seems that no keywords are recognized. Not sure how to fix this but I think you need to link to Unity's definitions. Doesn't even recognize MonoBehaviour, System, UnityEngine???

    According to the docs here. Rigidbody2D is spelled correctly.