Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: indeisoft on November 20, 2014, 09:43:04 AM

Title: compilation error
Post by: indeisoft on November 20, 2014, 09:43:04 AM
hey
I just bought the NGUI, I have some questions, but first thing is I get compilation errors, I don't know if it's NGUI issue but anyway all the errors are from  compiler directives :

#if UNITY_4_3 || UNITY_4_5 || UNITY_4_6
               b2d.center = bcCenter;
#else
               b2d.offset = bcCenter;
#endif
               b2d.size = bcSize;

I have the latest Unity version 4.5.5 , I get the error on the else part...

Thank you
Tsahi
Title: Re: compilation error
Post by: ArenMook on November 20, 2014, 08:43:09 PM
That doesn't make sense to me. Unity 4.5 is in that directive, meaning you default to the first line, not the second. I use 4.5.5f1 myself.
Title: Re: compilation error
Post by: indeisoft on November 21, 2014, 06:19:54 AM
I know...well that is what happens anyway...am I missing something?
Title: Re: compilation error
Post by: indeisoft on November 21, 2014, 11:44:06 AM
Well finally, I found the problem - there are missing define symbols in the editor assembly