Hi,
I'm trying to create a button in the bottom left of the screen which will remain the same size regardless of the screen/camera size. I have a 2D camera which can be zoomed into a sprite, so what I'd like is to have a 'Reset Map' button appear and remain on the screen as soon as the zoom/camera size is less than 1. I'm currently trying this with a separate viewport setup with a second camera (as in example 8 in the NGUI example scenes) and the button appears in the correct place through the main 2D camera. However, it seems to be shrinking in size as I zoom in.
The setup I have is;
> View UI (with UI Root, UIPanel)
> Anchor (UIAnchor with main 2D camera as the UI Camera and set to Center, None for container)
> Offset (UIAnchor with View camera as UI Camera, set to Bottom-Left, None for container)
> Button (with Unified anchor with Target as View UI, Left/Right set to: Left, Top/Bottom set to: Bottom)
Any ideas on how I keep the size of this constant?
Thanks