Topic: UI Marker and gameobject
Quick question before i refactor things, to check if there is an existing option to my issue.
- I m having a prefab to instantiate in order to replace classic texture marker, and i use the uGUIMarkerDrawer example to do so.
- I would need to access a reference of the gameobject instance created from the prefab, but in UGuiMarker Drawer, it is shown as an inner variable of some function.
Any chance a function already exists to retrieve the corresponding gameobject ref from the corresponding onlineMapsMarker created with this call : OnlineMapsMarker marker = OnlineMapsMarkerManager.CreateItem(coords, unit.Title);
Thanks a lot.