I think Unity’s GUI System is too awkward to handle, so I decided to develop my own GUI class.
Here is what I am doing, I am trying to use a orthographic camera to show the GUI assets, this camera’s near Clip is set to 0, and far Clip is set to 50, it means that it has 50 layers, yet I met a problem that I don’t know how to get the width and height of the camera.
I mean, I want to put GUI Assets like this
GUI_Asset.transform.position = new Vector3(GUI_Camera.width * positionX%, GUI_Camera.height * positionY%, layer);
so you can see I have to get the exact width and height of the camera if I want to set GUI assets this way…