Author Topic: CompareFounc not found under flash player  (Read 2728 times)

papirosnik

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 4
    • View Profile
CompareFounc not found under flash player
« 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>'

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: CompareFounc not found under flash player
« Reply #1 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.

papirosnik

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 4
    • View Profile
Re: CompareFounc not found under flash player
« Reply #2 on: June 03, 2014, 04:11:53 AM »
yeah, it helped.
thy.