I would like to understand and more master the concept of resolution with the aim to locate perfectly my
UIDocuments (into a
I have a issue between many data declaration, interface and debug code which result to bad locate/put elements in my game.
To better understand you can view some screenshoot of my UI Builder, simulator and debug window and focus to resolution param et locate elements like this
- uxml file define size with game view that corresponding to simulator Apple Ipad Pro 12.9 (2732x2048)
- the test2.uxml container is more heighter than simulator
- the end of height of uxml is not the the end of canvas or device simulated by Unity
- resolution is selected by choice of the iPad device
- the buttons into my
VisualElementcontainer is on bottom of screen device whereas is in the middle into UI Builder
3 differents declaration of résolution
Why locate of
VisualElementis different between UI Builder and simulator ?
Why I have 3 differents declaration of resolution value ?
Why Canvas size (with match game View) do not match with simulator resolution ?
Thank you for your help and your advice !