Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: aikitect on August 29, 2013, 10:01:55 AM

Title: Can't Utilize Any Script in NGUI/Editor
Post by: aikitect 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?
Title: Re: Can't Utilize Any Script in NGUI/Editor
Post by: Sandsnake on August 29, 2013, 10:24:21 AM
read the FAQ in regards to making NGUI function with JavaScript
Title: Re: Can't Utilize Any Script in NGUI/Editor
Post by: ArenMook 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.