I need a script to change the size of a GUI canvas. Normally, if it was a GUI image, I’d useGameObject.Find("FullScreenGUI").transform.localScale = new Vector3(1, 1, 1);
But this isn’t working for the canvas, since I guess rect transform is locked or something. Anyways, what’s a script that I could use to change the size of the canvas??
Pretty sure the root canvas is pinned to the size of the output surface.
If you make a sub-canvas underneath it, then I believe you can do the type of scaling that you contemplate.