Search Unity

Question CS0246

Discussion in 'Testing & Automation' started by TadaHrd0, Nov 12, 2021.

  1. TadaHrd0

    TadaHrd0

    Joined:
    Nov 12, 2021
    Posts:
    3
    Assets\Scripts\PlayerController.cs(20,13): error CS0246: The type or namespace name 'RigidBody' could not be found (are you missing a using directive or an assembly reference?)
     

    Attached Files:

  2. TadaHrd0

    TadaHrd0

    Joined:
    Nov 12, 2021
    Posts:
    3
    the script marked //jump is the script
     
  3. TadaHrd0

    TadaHrd0

    Joined:
    Nov 12, 2021
    Posts:
    3
  4. You wrote
    RigidBody
    instead of
    Rigidbody
    . I even provided a link to the documentation where you can check how to spell things.