How can i access the parent of an UI image?

I have an UI Image with an Rect Transform, but no normal transform. Which means i can’t acces gameObject.transform.parent. So how do i get to the parent?

1 Answer

1

RectTransform exposes a “parent” property…

A player prefab shouldn't influence any of the glyphs if they are different objects. This sounds like a new question for you to make.

Can you change the code a bit that on awake the script links all the glyph to the array?