Topic: [SOLVED] Dynamic Map Size and placement
I havent quiet worked out how to position my 2D map on the my screen.
I have a canvas which is using a canvas scaler withw reference resolution of 320x480. This is to allow for me to build for a SD resolution phone. The scaler is set to match the width.
I have a panel in my UI which has the map as a child of it, as well as some other objects. The onlinemap transform appears in the bottom left hand corner of my scene.
Depending on the resolution of the screen, the map will with fill the entire screen which is fine, or be way way too small, or not be centered. As the map is a 3d transform (even though I only using it as a 2D) how do I set it to align in the center of the panel.
Thank you.