Issue with transform.position.x not working

Menus are in a completely different coordinate space than the screen, completely dependent on anchoring and Canvas scaling.

Here are some notes on UI Anchoring, Scaling, CanvasScaler, etc:

You might also find some helpful methods in RectTransformUtility class.

1 Like