Search Unity

  1. Unity 2019.2 is now released.
    Dismiss Notice

error CS0246: vector3

Discussion in 'Scripting' started by ZayronZ, Nov 8, 2019.

  1. ZayronZ

    ZayronZ

    Joined:
    Nov 8, 2019
    Posts:
    1
    I have this problem and I don't know how to solve it.

    Assets\game\script\Player1.cs(28,40): error CS0246: The type or namespace name 'vector3' could not be found (are you missing a using directive or an assembly reference?

    upload_2019-11-8_16-4-18.png

    can someone help?
     

    Attached Files:

  2. TaleOf4Gamers

    TaleOf4Gamers

    Joined:
    Nov 15, 2013
    Posts:
    800
    Vector3 is what it is called. C# is case-sensitive.
     
    ZayronZ likes this.