Why does the UIWindowButton script sometimes work and sometimes not work? It will work in the editor, but once published it doesn't. I go back into the project and everything is set up correctly. What would cause this to not work correctly? Any ideas? I finally got it to work by deleting everything and redoing it. Then had to change something re publish to web and now it's broken again.
"Edit"
It seems to be grabbing the wrong panels for some reason and not sure why. Had a panel disappear and it's because it was hiding that panel instead of the other even tho it shouldn't have since it wasn't that panel set in the inspector.