Tasharen Entertainment Forum

Support => Misc Archive => Topic started by: iwishash on November 27, 2013, 03:54:32 AM

Title: UIWindow error message
Post by: iwishash 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?
Title: Re: UIWindow error message
Post by: ArenMook 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. :)