Hi, i trying draw simple square button and i have problem with different size of client screen. After the selection "anchormin", "anchormax" my button moves when screen resize.
How can I draw a square button and attach it to the bottom left corner?
My button schema:
Code:{ "parent": "Overlay", "name": "my.button", "components": [{ "type": "UnityEngine.UI.Button", "command": "oxide.version", "color": "1 0.95 0.875 0.04", }, { "type": "RectTransform", "anchormin": "0.01 0.01", "anchormax": "0.06 0.06" }] }
Solved Adapt CUI to resolution?
Discussion in 'Rust Development' started by Andrew Mensky, Feb 7, 2017.