Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    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:
    825
    Vector3 is what it is called. C# is case-sensitive.
     
    ZayronZ likes this.