Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: dxball on December 30, 2016, 01:53:22 AM
-
I update my nGUI to latest 3.11.11 and Unity throw some compile error.
(My Unity version is 5.1.4f1)
Assets/NGUI/Scripts/Internal/UIDrawCall.cs(576,39): error CS1061: Type `UnityEngine.Mesh' does not contain a definition for `SetVertices' and no extension method `SetVertices' of type `UnityEngine.Mesh' could be found (are you missing a using directive or an assembly reference?)
Assets/NGUI/Scripts/Internal/UIDrawCall.cs(577,39): error CS1061: Type `UnityEngine.Mesh' does not contain a definition for `SetUVs' and no extension method `SetUVs' of type `UnityEngine.Mesh' could be found (are you missing a using directive or an assembly reference?)
Assets/NGUI/Scripts/Internal/UIDrawCall.cs(578,39): error CS1061: Type `UnityEngine.Mesh' does not contain a definition for `SetColors' and no extension method `SetColors' of type `UnityEngine.Mesh' could be found (are you missing a using directive or an assembly reference?)
Assets/NGUI/Scripts/Internal/UIDrawCall.cs(589,39): error CS1061: Type `UnityEngine.Mesh' does not contain a definition for `SetUVs' and no extension method `SetUVs' of type `UnityEngine.Mesh' could be found (are you missing a using directive or an assembly reference?)
Assets/NGUI/Scripts/Internal/UIDrawCall.cs(590,39): error CS1061: Type `UnityEngine.Mesh' does not contain a definition for `SetNormals' and no extension method `SetNormals' of type `UnityEngine.Mesh' could be found (are you missing a using directive or an assembly reference?)
Assets/NGUI/Scripts/Internal/UIDrawCall.cs(591,39): error CS1061: Type `UnityEngine.Mesh' does not contain a definition for `SetTangents' and no extension method `SetTangents' of type `UnityEngine.Mesh' could be found (are you missing a using directive or an assembly reference?)
Does nGUI still work in Unity 5.1.x ?
-
Short answer is no, it doesn't -- but you can get it to support it pretty easily by modifying some #ifdefs -- basically use the same code path as for Unity 4.
Officially the latest NGUI only supports Unity 4.7, 5.4, and 5.5.