- Home /
UI Buttons stopped working after duplicaitng scene
Hello.
I have two canvases on my scene with UI buttons, Everything waws working fine, until I saved my scene as another scene and tried to get back to the original scene. Now none of the buttons are clickable in the original scene. What could be the reason. I did not change any settings. Earlier in the same scene, the buttons were working and then suddenly topped working, even hovering didnt change color. Then when I cahnges the order in layer, the buttons became clickable again. And now when I duplicatd the scene, none of the buttons work. I have been stuck since 6 hrs with this now
Hello, insert into button codes
public void Start(){ Time.timeScale=1f; Screen.lockCursor=false; Cursor.visible=true; }
Answer by xpath · Dec 10, 2018 at 11:02 AM
Hello,
I have the same problem.
My English is not good.
When I first run the scene, I can use the buttons to reach a different scene. I can't use the buttons when I get back to the scene where I've reached the buttons.
from the first scene (the scene where the buttons are located) to the second scene (game scene). the buttons do not work when I move from the second scene to the first scene.
Your answer
