public static void SetPos(RectTransform rt, float x, float y, float z = 0) { rt.anchoredPosition = new Vector2(x, y); rt.transform.localPosition = VectorUtil.Affect_Z(rt.transform.localPosition, z); }