Author Topic: Error after importing NGUI3.9.6  (Read 2612 times)

creator_chen

  • Newbie
  • *
  • Thank You
  • -Given: 2
  • -Receive: 0
  • Posts: 2
    • View Profile
Error after importing NGUI3.9.6
« on: December 21, 2015, 10:35:08 PM »
After importing NGUI3.9.6 I got the following error:

Assets/NGUI/Scripts/Internal/NGUITools.cs(1493,35): error CS1061: Type `UnityEngine.TextEditor' does not contain a definition for `text' and no extension method `text' of type `UnityEngine.TextEditor' could be found (are you missing a using directive or an assembly reference?)

I work with Unity5.2.2f1, Help~~~ :'(

pretender

  • Full Member
  • ***
  • Thank You
  • -Given: 1
  • -Receive: 0
  • Posts: 155
    • View Profile
Re: Error after importing NGUI3.9.6
« Reply #1 on: December 22, 2015, 01:36:24 AM »
same here

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Error after importing NGUI3.9.6
« Reply #2 on: December 23, 2015, 09:19:11 AM »
Replace the #if line above with:
  1. #if UNITY_4_6 || UNITY_4_7 || UNITY_5_0 || UNITY_5_1 || UNITY_5_2
Do the same thing with line 1499.