- Home /
Unity 4.6 new UI System. Button not working after the canvas is created as prefab. HELP!!
So my problem is when i make the Canvas as prefab to use it to other scene the button suddenly didnt work anymore. Any idea why this is happening? PLEASE HELP! THANK YOU!
Comment
Best Answer
Answer by AlwaysSunny · Oct 26, 2014 at 02:01 AM
Unless you're scripting your own callbacks, 4.6 UI buttons work by keeping a reference to whatever script or object they're supposed to operate on. If that script or object isn't part of the prefab itself, when the prefab is instantiated, the references no longer exists.
Your answer