Hello.
I got 3 canvases on a scene. Depending on situation, I need to hide one of them. I am trying
mainUI = GameObject.Find(“MainUI”);
mainUI.GetComponent().enabled = false; // or //
mainUI.SetActive(false);
Everything is OK in editor, but when I publish project to Win build, the canvases not hiding at all, they just change a view order;
What is the problem?