Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: papirosnik on June 02, 2014, 03:07:22 AM

Title: CompareFounc not found under flash player
Post by: papirosnik on June 02, 2014, 03:07:22 AM
Hi.

Is Flash Player platform supported or I miss something?
When I try to build my test project for Flash Player I'm getting this error message:

Assets/NGUI/Scripts/Interaction/UIGrid.cs(100,38): error CS0426: The nested type `CompareFunc' does not exist in the type `BetterList<UnityEngine.Transform>'
Title: Re: CompareFounc not found under flash player
Post by: ArenMook on June 02, 2014, 10:45:28 PM
It's hard to support a platform that hasn't been actively supported by Unity themselves in over a year. Try going to the end of BetterList.cs file. You will find the Sort() function there, and above it -- a commented out version of it. Delete the current, uncomment the one that's commented out.
Title: Re: CompareFounc not found under flash player
Post by: papirosnik on June 03, 2014, 04:11:53 AM
yeah, it helped.
thy.