Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: Bilko on May 13, 2013, 11:50:03 AM
-
Hello;
First off I love NGUI it just does what I need however today I started a new project, fresh install and I get the following error: Assets/NGUI/Scripts/Editor/UIAtlasMaker.cs(116,42): error CS0117: `UnityEngine.SystemInfo' does not contain a definition for `maxTextureSize'
How can I resolve this, thanks in advance for your help!
-
You need to update your Unity 4.0 to Unity 4.1.
-
I upgraded my version to 4.1.2 / latest version and I get this error now:
Assets/NGUI/Scripts/Editor/UICameraTool.cs(185,81): error CS1061: Type `Camera' does not contain a definition for `gameObject' and no extension method `gameObject' of type `Camera' could be found (are you missing a using directive or an assembly reference?)
Thanks
-
Actually correction I get 25 errors stemming from the UICameraTool.cs script. Once I upgraded. I have deleted and e-imported with no luck. Attached is the error list image from Unity's console.
-
Camera is a Unity Behaviour, and as such it most certainly has a "gameObject" property -- just like any other behaviour.
My guess -- you have your own class named "Camera".
-
Your completely correct about your guess, it was used in my camera follow script. I need to re-write that one haha.
Thanks again.