Tasharen Entertainment Forum
Support => Other Packages => Topic started by: appsdev on July 09, 2014, 10:01:27 PM
-
I have imported NGUI.
I get this error. Please advise on what's the best way to resolve this?
Assets/StarlinkUI/Scripts/Generic/UI/UIChat.cs(159,50): error CS1061: Type `UIFont' does not contain a definition for `premultipliedAlpha' and no extension method `premultipliedAlpha' of type `UIFont' could be found (are you missing a using directive or an assembly reference?)
-
Change that to be "premultipliedAlphaShader". I guess I renamed that at some point without realizing it would affect the Starlink UI kit. I'll update it this weekend, thanks!
-
After making the changes mentioned, I get this error.
Assets/StarlinkUI/Scripts/Custom/UI/UIOptionCaps.cs(30,30): error CS0117: `Localization' does not contain a definition for `instance'
Please advise.
-
I'm not sure if its ok to do this but I'm trying to make it run. so I made the following changes.
in UIOptionCaps.cs
//mCheck.value = (Localization.instance.currentLanguage == "Caps");
mCheck.value = (Localization.language == "Caps");
//Localization.instance.currentLanguage = UIToggle.current.value ? "Caps" : "English";
Localization.language = UIToggle.current.value ? "Caps" : "English";
These errors show after the above changes.
Assets/StarlinkUI/Scripts/Generic/UI/UIWindow.cs(107,49): 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?)
-
Loaded the game scene.
found the following:
Assets/StarlinkUI/Scripts/Custom/UI/UIOptionWifi.cs(19,24): error CS1061: Type `UIToggle' does not contain a definition for `onStateChange' and no extension method `onStateChange' of type `UIToggle' could be found (are you missing a using directive or an assembly reference?)
-
What version of the UI kit are you using and where did you get it? The version that's in the Asset Store should be already updated past all this.
-
I got it from the project manager. It's latest version as I was told. May I know how I can check whether its really latest from looking at the files?
It seems that the problem arise when I click on the "TNET Integration" it will overwrite a bunch of files"
If I dont use the TNET Integration, UICaptionCaps.cs
this line of code is like this "mCheck.value = (Localization.language == "Caps");"
if I run TNET Integration.
That line of codes changes to this "mCheck.value = (Localization.instance.currentLanguage == "Caps");"
This is the error showing.
-
I am not sure what TNet Integration package you have there, but if it overwrites the code like that then you don't have the latest. If you send me your OR# I can send you the latest package, or you can try re-downloading it from the Asset Store.
-
OK I got it updated again it works now.
In direct its only showing the internal IP for both internal and external. Is this my local setting issue ?
-
Nah, likely just TNet not able to determine the external IP. As I recall current version of TNet on the Asset Store is a few weeks behind the latest which was updated to handle external IP retrieval to be a lot faster and more reliable. I'll likely put up this updated version sometime this weekend.