Topic: Get Marker from game object?
I have a 3D marker in the scene (tileset map), with OnPointerClick event handled by a script. I would like to get the OnlineMapsMarker3D component from this game object. Is this possible without keeping track of the marker (or index); strictly getting it from the game object and/or it's children?
Thanks.
EDIT: Here's the error I'm getting:
ArgumentException: GetComponent requires that the requested component 'OnlineMapsMarker3D' derives from MonoBehaviour or Component or is an interface.