1. 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"
        }]
    }
     
  2. Wulf

    Wulf Community Admin

    The CUI from Rust will vary based on your screen size. It doesn't really adapt to your resolution.