Author Topic: Error after importing NGUI  (Read 2621 times)

pokbluesky

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 1
    • View Profile
Error after importing NGUI
« on: August 08, 2014, 06:22:47 PM »
I got these errors after importing NGUI from unity store. How can I install NGUI ? Can't find it anywhere

Please help!

Assets/NGUI/Scripts/Editor/NGUIHandles.cs(24,23): error CS1061: Type `Plane' does not contain a definition for `Raycast' and no extension method `Raycast' of type `Plane' could be found (are you missing a using directive or an assembly reference?)

Assets/NGUI/Scripts/Editor/NGUIHandles.cs(26,49): error CS0165: Use of unassigned local variable `dist'

Assets/NGUI/Scripts/Editor/NGUIHandles.cs(113,72): error CS1729: The type `Plane' does not contain a constructor that takes `3' arguments


ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Error after importing NGUI
« Reply #1 on: August 08, 2014, 07:50:37 PM »
You have your own class called "Plane" which conflicts with UnityEngine.Plane. Rename it.