Hello again.
Well, in order to achieve to maintain position and scale according to screen size , I managed to hack a bit UIRoot to get what I want.
It works pretty well since what I get on my screen is what I get on my iPhone and iPad.
The problem is now the scrollview seems broken, shame on me.
Here is how I modified UIRoot, in its Awake function:
GameObject.Find("Camera").GetComponent<Camera>().orthographicSize = Screen.width/2;
Vector3 cameraScale
= new Vector3
(Screen
.width/2, Screen
.width/2,
0); GameObject.Find("Camera").transform.localScale = cameraScale;
minimumHeight = Screen.width;
maximumHeight = Screen.width * 2;
But now I get this error under the Soft Clip enum on the Inspector:
" Clipped panels must have a uniform scale, or clipping won't work properly! "
And so it makes the clipping slighly downing when scrolling to the bottom.
Is this possible to get through this easily or am I trapped?
Thanks again!
Alfred