Author Topic: not working as intended, help please  (Read 2226 times)

bmannion4

  • Guest
not working as intended, help please
« on: June 23, 2012, 09:23:30 PM »
Ok, my 3DGUI has 3 panels.  On my baseui panel I have a build button. All buttons on this panel work upon starting the game. This is the panel active when starting. When I click my build button it sets the basepanel to active false, and sets buildpanel to active true. I can then select what to build, and it builds correctly, sets buildpanel to false, and base panel to true. All OTHER buttons on the basepanel work still, but the build button is no longer clickable. I've checked button colliders, made sure all scripts were correctly turned back on and activated, even moving the button to locations of working buttons, but nothing is working. I've placed tons of debug logs, and the button is not even detecting a click after it has worked the first time.

Any advice on what the heck could be happening? Anyone else encounter anything like this before?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: not working as intended, help please
« Reply #1 on: June 24, 2012, 12:22:56 AM »
Have you tried putting a debug.log within the UICamera to see what it actually hits with the raycast?

bmannion4

  • Guest
Re: not working as intended, help please
« Reply #2 on: June 24, 2012, 12:47:51 AM »
Good idea. Thanks. Will post again if I have any questions afterwards!