Hi -
I'm using a prefab to generate NGUI buttons which, when clicked, will pass metadata to a single set of NGUI UI objects to display that metadata (it's the classic list-to-detail pattern). The buttons are on one panel, while the "detail" view is another.
I know you can't refer to scene objects from a prefab, so, per best practice, I'm finding the GameObjects at runtime and storing references to them in global variables.
To pass the metadata, I'm first performing a Get for each data element, and storing it. The problem is with the 'Set Property' action, and defining the Target. When I access the variable list for the Target Object, the global vars aren't there -- just a single option that says "None".
I actually had it all working a few hours ago, after reading that I could lock the Inspector and drag objects right into the State panel to create prepopulated set/get actions, only to find later that those settings couldn't be saved because of the "No Scene Objects" rule . . .
So now I'm stuck . . . totally baffled as to why the globals aren't showing up, since they appear in the variables list, as well as in other dropdowns where globals are made available.
Thanks for any/all help . . .