Author Topic: Can't Utilize Any Script in NGUI/Editor  (Read 4210 times)

aikitect

  • Newbie
  • *
  • Thank You
  • -Given: 1
  • -Receive: 0
  • Posts: 27
    • View Profile
Can't Utilize Any Script in NGUI/Editor
« on: August 29, 2013, 10:01:55 AM »
Hello, I am attempting to use NGUIJson in order to import from TexturePacker atlases, but every time I attempt to call NGUIJson or any other script, such as NGUIEditorTools, it gives me that the name does not exist in the current context.  How can I get Unity to compile these scripts?

Sandsnake

  • Guest
Re: Can't Utilize Any Script in NGUI/Editor
« Reply #1 on: August 29, 2013, 10:24:21 AM »
read the FAQ in regards to making NGUI function with JavaScript

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Can't Utilize Any Script in NGUI/Editor
« Reply #2 on: August 29, 2013, 05:05:04 PM »
You can't use scripts located in the Editor folder from the assets folder. Unity doesn't allow this. You can move NGUIJson out of the editor folder and then use it.