Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: BES on September 18, 2013, 01:09:01 AM

Title: Errors in NGUI after adding the asset to my project...
Post by: BES on September 18, 2013, 01:09:01 AM
There seems to be a conflict between NGUI and SGSK(both by Tasharen Entertainment) ...I add NGUI to my project and I get these errors:
Quote

    Assets/SGSK/Scripts/Common/UI/SGStateColor.cs(18,9): error CS0246: The type or namespace name `SGWidget' could not be found. Are you missing a using directive or an assembly reference?
    Assets/SGSK/Scripts/UI/SGButtonHighlight.cs(14,9): error CS0246: The type or namespace name `SGWidget' could not be found. Are you missing a using directive or an assembly reference?
    Assets/SGSK/Scripts/UI/SGButtonJoinGame.cs(6,16): error CS0246: The type or namespace name `SGInput' could not be found. Are you missing a using directive or an assembly reference?
    Assets/SGSK/Scripts/UI/SGFlicker.cs(11,9): error CS0246: The type or namespace name `SGWidget' could not be found. Are you missing a using directive or an assembly reference?
    Assets/SGSK/Scripts/UI/SGProgressBar.cs(14,19): error CS0246: The type or namespace name `SGSprite' could not be found. Are you missing a using directive or an assembly reference?
    Assets/SGSK/Scripts/UI/SGMouseDragIndicator.cs(13,9): error CS0246: The type or namespace name `SGSprite' could not be found. Are you missing a using directive or an assembly reference?
    Assets/SGSK/Scripts/UI/SGPlayerAim.cs(17,9): error CS0246: The type or namespace name `SGWidget' could not be found. Are you missing a using directive or an assembly reference?
    Assets/SGSK/Scripts/UI/SGTarget.cs(23,16): error CS0246: The type or namespace name `SGWidget' could not be found. Are you missing a using directive or an assembly reference?
    Assets/SGSK/Scripts/UI/SGTarget.cs(38,9): error CS0246: The type or namespace name `SGWidget' could not be found. Are you missing a using directive or an assembly reference?

If I try to fix the errors by trying to re-add SGSK I get these errors:

Quote

  Assets/NGUI/Scripts/UI/UIFilledSprite.cs(13,31): error CS0246: The type or namespace name `UISprite' could not be found. Are you missing a using directive or an assembly reference?

    Assets/NGUI/Scripts/UI/UILabel.cs(16,24): error CS0246: The type or namespace name `UIWidget' could not be found. Are you missing a using directive or an assembly reference?

    Assets/NGUI/Scripts/UI/UITexture.cs(17,26): error CS0246: The type or namespace name `UIWidget' could not be found. Are you missing a using directive or an assembly reference?



No offense to you guys but why haven't you made it so your assets don't conflict with each other? ... I am still learning basic C# ..so I don't know how to fix this stuff, but I would like to use both assets in my game project..
Title: Re: Errors in NGUI after adding the asset to my project...
Post by: ArenMook on September 18, 2013, 01:48:32 PM
SGSK has several different versions. The base one on the asset store meant to work as-is. Then there is the version with NGUI UI, and the version with NGUI + TNet. To request alternate versions just email support at tasharen.com with your OR#.
Title: Re: Errors in NGUI after adding the asset to my project...
Post by: BES on September 19, 2013, 11:34:36 AM
SGSK has several different versions. The base one on the asset store meant to work as-is. Then there is the version with NGUI UI, and the version with NGUI + TNet. To request alternate versions just email support at tasharen.com with your OR#.

Thanks!