I am trying to set the coordinates of offset to my gameobject. I am setting the gameobject as a child under the canvas so it can be displayed as a part of the UI.
However, it does not spawn in the right place. The offset vector is set to the inspector transform points of where I want the object to be. Even using transform.TransformPoint(offset) does not set it in the right position. any help?