Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - BES

Pages: [1]
1
NGUI 3 Support / Re: Buttons stopped working
« on: April 17, 2014, 04:34:31 PM »
I seem to have fixed this for real this time .. don't know why this worked..

I moved the collider box for the first window to the left of the buttons ...and now the buttons respond even after saving it to a prefab and building and running a developer version of my project..

The collider box for the panel window was never directly blocking the button colliders ...so its odd to me why this worked..but I am just going to roll with it..

https://www.youtube.com/watch?v=_I9Gr2q5tIA

2
NGUI 3 Support / Re: Buttons stopped working
« on: April 17, 2014, 01:43:08 PM »
You haven't answered my last question. What is under the mouse when the events don't work?

I said "Setting the UI camera to debug ..shows that its not even seeing any of the other buttons, its hitting the window behind them"  to be specific..

Its says "Last hit: UIRoot(3D) - Main\Panel - Main\Window"   <-- but that doesn't make sense to me since the Panel Window collider isn't in the way of the button colliders.. to be sure I moved the window collider back by 1 ..still not hitting the buttons when I mouse over them.

Does this have something to do with me copying and pasting the buttons to make new ones after I made the first one?

I also found something odd ... clicking on the options button makes a new menu slide into view ..like the example menu..  so I tested the options menu first ...when I click on the done button it returns to the main menu like its supposed to ..but most of the buttons respond now ...but it seems to happen randomly ...so that makes things more confusing..

3
NGUI 3 Support / Re: Buttons stopped working
« on: April 16, 2014, 10:26:46 PM »
Thanks for responding, I figured it out .. for some reason the collision boxes stopped working, I deleted them and made new ones ... then the buttons responded normally again.

Never mind ..still having this issue...  I build and run a dev version of my project and none of the buttons respond except the "Play Game" button..

Setting the UI camera to debug ..shows that its not even seeing any of the other buttons, its hitting the window behind them..

Its confusing since all the buttons have collisions..

4
NGUI 3 Support / Re: Buttons stopped working
« on: April 16, 2014, 02:39:17 PM »
Check the "Debug" option on the UICamera and you will be able to see what's eating the events.

Thanks for responding, I figured it out .. for some reason the collision boxes stopped working, I deleted them and made new ones ... then the buttons responded normally again.

5
NGUI 3 Support / Buttons stopped working
« on: April 16, 2014, 04:28:03 AM »
I made custom menu based on one of the example scenes... it was working fine until I saved it as a prefab and saved my scene..

I load the scene back up to work on it again and when I test it none of the buttons respond when the mouse is over them or if I click on them ...everything looks exactly the same(set-up wise)..so now I am confused as to why its not working..

6
NGUI 3 Support / Re: Errors in NGUI after adding the asset to my project...
« 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!

7
NGUI 3 Support / Errors in NGUI after adding the asset to my project...
« 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..

Pages: [1]