Author Topic: UIWindow error message  (Read 2574 times)

iwishash

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 15
    • View Profile
UIWindow error message
« on: November 27, 2013, 03:54:32 AM »
Hi,
I installed NGUI latest version (3.0.6 f2) and tried to install Starlink Kit, I got an error messages like below.
"Assets/StarlinkUI/Scripts/Generic/UI/UIWindow.cs(71,32): error CS1061: Type `UIPanel' does not contain a definition for `SetAlphaRecursive' and no extension method `SetAlphaRecursive' of type `UIPanel' could be found (are you missing a using directive or an assembly reference?)"
Any Advice?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 330
  • -Receive: 1157
  • Posts: 22,084
  • Toronto, Canada
    • View Profile
Re: UIWindow error message
« Reply #1 on: November 27, 2013, 04:04:15 AM »
The update to Starlink UI kit is currently pending on the Asset Store. You can fix it locally by changing those lines to just set 'alpha' instead. So if the code before was:
  1. panel.SetAlphaRecursive(0f, false);
Now it would be:
  1. panel.alpha = 0f;
P.S. Also the latest NGUI is f4, not f2. :)