<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Infinity Code Forum — Tooltip on mobile using IPointerUpHandler and IPointerDownHandler]]></title>
	<link rel="self" href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=298&amp;type=atom" />
	<updated>2016-10-13T11:29:13Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.infinity-code.com/viewtopic.php?id=298</id>
		<entry>
			<title type="html"><![CDATA[Re: Tooltip on mobile using IPointerUpHandler and IPointerDownHandler]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=1356#p1356" />
			<content type="html"><![CDATA[<p>Alex,<br />first of all thanks, yours is the most responsive support I ever had on an Unity plugin.</p><p>I try and let you know the outcome <img src="https://forum.infinity-code.com/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></content>
			<author>
				<name><![CDATA[wifidlab]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=264</uri>
			</author>
			<updated>2016-10-13T11:29:13Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=1356#p1356</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Tooltip on mobile using IPointerUpHandler and IPointerDownHandler]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=1353#p1353" />
			<content type="html"><![CDATA[<p>OnlineMaps.GetMarkerFromScreen returns 2D markers.</p><p>If you want to get 3D marker, you can make raycast manually and check the result.<br />Or you can use OnlineMapsControlBase3D.GetBillboardMarkerFromScreen.<br />I know that this is not logical, and this method was written for other purposes, but it will return instance of 3D marker too.</p><p>Thank you for your question. It showed me the problem, and we will try to improve it.</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2016-10-13T11:08:09Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=1353#p1353</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Tooltip on mobile using IPointerUpHandler and IPointerDownHandler]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=1352#p1352" />
			<content type="html"><![CDATA[<p>Hello,<br />I&#039;ve tried like you suggest, but it seems not returning any marker, 3d nor 2d:</p><p>Online maps tile set control &gt; 3d marker &gt; allow default marker event is checked, markers are code generated at runtime but tapping on a marker OnlineMaps.instance.GetMarkerFromScreen always return &quot;null&quot;.</p><p>I&#039;m I missing something?</p><p>Thanks in advance</p>]]></content>
			<author>
				<name><![CDATA[wifidlab]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=264</uri>
			</author>
			<updated>2016-10-13T10:47:59Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=1352#p1352</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Tooltip on mobile using IPointerUpHandler and IPointerDownHandler]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=1348#p1348" />
			<content type="html"><![CDATA[<p>Hello.</p><p>On IPointerDownHandler:<br />* Get the current marker using OnlineMaps.GetMarkerFromScreen<br />* Store it in some field.</p><p>On uGUICustomTooltipForAllMarkersExample.OnUpdateLate:<br />If the marker (which you store) != null, show the tooltip.</p><p>On IPointerUpHandler:<br />marker (which you store) = null;</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2016-10-12T13:45:18Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=1348#p1348</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Tooltip on mobile using IPointerUpHandler and IPointerDownHandler]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=1347#p1347" />
			<content type="html"><![CDATA[<p>Hello,<br />I&#039;m using some code from your sample uGUICustomTooltipForAllMarkersExample to define the tooltip and I use IPointerUpHandler and IPointerDownHandler inside another script to check wherever the user tapped on the screen.</p><p>This approach seems to prevent tooltip to be shown; is there any way or best-practice to ge the tooltip to be shown on mobile &quot;on tap&quot;?</p><br /><p>As usual thanks for your outstanding support. <img src="https://forum.infinity-code.com/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></content>
			<author>
				<name><![CDATA[wifidlab]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=264</uri>
			</author>
			<updated>2016-10-12T09:46:09Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=1347#p1347</id>
		</entry>
</feed>
