<?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 — 3D marker OnClick event is not fire]]></title>
		<link>https://forum.infinity-code.com/viewtopic.php?id=43</link>
		<atom:link href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=43&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in 3D marker OnClick event is not fire.]]></description>
		<lastBuildDate>Sat, 31 Oct 2015 08:19:19 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: 3D marker OnClick event is not fire]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=172#p172</link>
			<description><![CDATA[<p>Thanks Alex</p>]]></description>
			<author><![CDATA[null@example.com (roronoazaoxl)]]></author>
			<pubDate>Sat, 31 Oct 2015 08:19:19 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=172#p172</guid>
		</item>
		<item>
			<title><![CDATA[Re: 3D marker OnClick event is not fire]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=140#p140</link>
			<description><![CDATA[<p>Hello.</p><p>Set «Online Maps Tiles Control Inspector / 3D Markers / Allow Default Marker Events - ON», is disabled by default.</p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Mon, 26 Oct 2015 19:55:28 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=140#p140</guid>
		</item>
		<item>
			<title><![CDATA[3D marker OnClick event is not fire]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=139#p139</link>
			<description><![CDATA[<p>hi, Alex,</p><p>I add some marker using following code</p><p> OnlineMapsMarker3D marker = OnlineMapsControlBase3D.instance.AddMarker3D(positions, marker3DPrefab);</p><p>&nbsp; enemys.Add(marker);</p><p>int j = Random.Range(0, 12);</p><p> marker.instance.transform.RotateAround(Vector3.zero, transform.up, 30 * j);<br />&nbsp; marker.label = &quot;Ghost&quot;;<br />marker.instance.gameObject.GetComponent&lt;BoxCollider&gt;().center = new Vector3(0f,1f,0f);<br />&nbsp; marker.OnClick += OnClickGhost;<br />&nbsp; &nbsp; &nbsp; &nbsp; <br />not sure why OnClickGhost function is never been calld.</p><p>I check OnMapBaseRelease function of OnlineMapsControlBase. api.GetMarkerFromScreen(Input.mousePosition) returns null. Does that mean it does not find any marker right?</p><p>and in OnlineMapsTileSetControl.instance.GetMarkerFromScreen, I found out that usedMarkers count as 0 and it only return a TilesetFlatMarker marker.</p><p>Does that mean I cannot click 3D Marker on screen? </p><p>But tooltips works fine and in example MarkerClickCountExample, it does say you can Subscribe to click event with a 3Dmarker.<br />Please let me know how can I click a 3D marker on screen thanks.</p><p>Thanks</p>]]></description>
			<author><![CDATA[null@example.com (roronoazaoxl)]]></author>
			<pubDate>Mon, 26 Oct 2015 16:26:22 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=139#p139</guid>
		</item>
	</channel>
</rss>
