1
NGUI 3 Support / Upgrade compile errors
« on: May 22, 2017, 10:01:05 AM »
So I have been working on a project for many years now and have recently upgraded unity from 3.5 to 5.6 - there where a few minor issues that I resolved, however I have then started to update some packages too, ngui being one of them
so I updated to the latest ngui through the asset store and now have some errors, as I am coming back from a very old build of ngui I am not sure if there is any info related to such a large jump (think I was using ngui 1.x)
if there is some documentation to help with the transition of all the versions that would be cool, otherwise there are some stuff below that people may be able to help with
the first one is in UIGridRename.cs it cant find UIDraggablePanel - from what I understand the dragable panel stuff has recently been updated in V3, any advise how to resolve this one?
second one -UIInputValidator.cs(31,42): error CS1061: Type `UIInput' does not contain a definition for `validator' and no extension method `validator' of type `UIInput' could be found. Are you missing an assembly reference?
third - NGuiSetButtonTweenDirection.cs cant find UIButtonTween.
I got one thats not actually apart of ngui but relies upon it, I got it from the unity forums/help/docs (cant remember exactly where) some time ago that may resolve with the above or something I probably could look at fixing once the others are sorted, but will post it here in case someone can make a suggestion on the fix.
it was used in a drop down list of screen resolutions and has the error "Cannot implicitly convert type `string' to `UIPopupList.Selection' " and "`UIPopupList.Selection' does not contain a definition for `Split' and no extension method `Split' of type `UIPopupList.Selection' could be found."
so I updated to the latest ngui through the asset store and now have some errors, as I am coming back from a very old build of ngui I am not sure if there is any info related to such a large jump (think I was using ngui 1.x)
if there is some documentation to help with the transition of all the versions that would be cool, otherwise there are some stuff below that people may be able to help with
the first one is in UIGridRename.cs it cant find UIDraggablePanel - from what I understand the dragable panel stuff has recently been updated in V3, any advise how to resolve this one?
second one -UIInputValidator.cs(31,42): error CS1061: Type `UIInput' does not contain a definition for `validator' and no extension method `validator' of type `UIInput' could be found. Are you missing an assembly reference?
third - NGuiSetButtonTweenDirection.cs cant find UIButtonTween.
I got one thats not actually apart of ngui but relies upon it, I got it from the unity forums/help/docs (cant remember exactly where) some time ago that may resolve with the above or something I probably could look at fixing once the others are sorted, but will post it here in case someone can make a suggestion on the fix.
it was used in a drop down list of screen resolutions and has the error "Cannot implicitly convert type `string' to `UIPopupList.Selection' " and "`UIPopupList.Selection' does not contain a definition for `Split' and no extension method `Split' of type `UIPopupList.Selection' could be found."