Hello! Im trying to make a minimap with a new UI. Everything is working, exept one thing:
when it moves it scale a little bit and returns. Its hapenning when an object is moving:
imageUI.GetComponent<Image>().rectTransform.anchoredPosition3D = new Vector3(transform.position.x / 2.5f, transform.position.z / 2.5f, 0);
Actual scale isnt changing.How can i fix this display bug?