<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Infinity Code Forum — Get Marker from game object?]]></title>
		<link>https://forum.infinity-code.com/viewtopic.php?id=658</link>
		<atom:link href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=658&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Get Marker from game object?.]]></description>
		<lastBuildDate>Fri, 22 Sep 2017 01:08:38 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Get Marker from game object?]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=2836#p2836</link>
			<description><![CDATA[<p>Thanks that worked great!</p>]]></description>
			<author><![CDATA[null@example.com (digitalrock)]]></author>
			<pubDate>Fri, 22 Sep 2017 01:08:38 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=2836#p2836</guid>
		</item>
		<item>
			<title><![CDATA[Re: Get Marker from game object?]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=2835#p2835</link>
			<description><![CDATA[<p>Hello.</p><div class="codebox"><pre><code>OnlineMapsMarker3D marker3D = GetComponent&lt;OnlineMapsMarker3DInstance&gt;().marker as OnlineMapsMarker3D;</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Fri, 22 Sep 2017 00:59:32 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=2835#p2835</guid>
		</item>
		<item>
			<title><![CDATA[Get Marker from game object?]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=2834#p2834</link>
			<description><![CDATA[<p>I have a 3D marker in the scene (tileset map), with OnPointerClick event handled by a script.&nbsp; I would like to get the OnlineMapsMarker3D component from this game object.&nbsp; Is this possible without keeping track of the marker (or index); strictly getting it from the game object and/or it&#039;s children?</p><p>Thanks.</p><p>EDIT:&nbsp; Here&#039;s the error I&#039;m getting:</p><p>ArgumentException: GetComponent requires that the requested component &#039;OnlineMapsMarker3D&#039; derives from MonoBehaviour or Component or is an interface.</p>]]></description>
			<author><![CDATA[null@example.com (digitalrock)]]></author>
			<pubDate>Fri, 22 Sep 2017 00:43:44 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=2834#p2834</guid>
		</item>
	</channel>
</rss>
