Hello, i need to instantiate this image, which works, but it doesn’t put it under the parent Canvas, which i need it to be in, can anybody help?
code:

`slots *= Instantiate (inv_slot, new Vector2(x, y), Quaternion.identity);`*

slots*.SetParent = inv_canvas;*

slots*.SetParent(inv_canvas);*