Hi
So I am creating a menu system. I have an object where when selected creates a new panel which an existing prefab. I have the UIButton Message script attached to the prefab because I want this new panel to be part of the other menu options.
The issue I am having is that I cannot attach my UI Root as the target in the UIButton Message script because the Panel is not in the heirachy because it is a prefab that gets "instantiated" during runtime.
I have spent a couple of days wrapping my head around it with no avail and was hoping somebody here could help me
Thank you