<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Infinity Code Forum — Rotate Camera Script]]></title>
	<link rel="self" href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=1371&amp;type=atom" />
	<updated>2019-09-28T13:23:38Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.infinity-code.com/viewtopic.php?id=1371</id>
		<entry>
			<title type="html"><![CDATA[Re: Rotate Camera Script]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=5639#p5639" />
			<content type="html"><![CDATA[<p>This example shows how to position UI elements above a marker:<br /><a href="http://infinity-code.com/atlas/online-maps/pages/uGUICustomTooltipExample.html">http://infinity-code.com/atlas/online-m … ample.html</a></p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2019-09-28T13:23:38Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=5639#p5639</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Rotate Camera Script]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=5638#p5638" />
			<content type="html"><![CDATA[<p>I mean how to do step 3<br />How to know the coordinates of the marker<br />Is there any converter from vector2 position to coordinate screen</p>]]></content>
			<author>
				<name><![CDATA[tamim.ali.zoabi]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=1098</uri>
			</author>
			<updated>2019-09-28T11:59:56Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=5638#p5638</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Rotate Camera Script]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=5636#p5636" />
			<content type="html"><![CDATA[<p>If you mean how to display the counter, you have many ways:<br />1. Tooltip (label).<br />2. Custom marker.<br />3. Position the UI or TextMesh element above the marker.</p><p>If you mean how to implement the countdown:<br /></p><div class="codebox"><pre><code>public float duration;
public OnlineMapsMarker marker;
private float progress;

private void Update()
{
  if (marker == null) return;
  progress += Time.deltaTime / duration;
  if (progress &gt; 1)
  {
    OnlineMapsMarkerManager.RemoveItem(marker);
    marker = null;
  }
}</code></pre></div><p>P.S. This code was written not in IDE, and may contain typos.</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2019-09-28T11:32:14Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=5636#p5636</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Rotate Camera Script]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=5633#p5633" />
			<content type="html"><![CDATA[<p>Ok .. you are right .. I&#039;ll check it.<br />Is there any way to put a seconds counter above the remark&nbsp; . It a down counter.. when the counter reach to 0 the remark destroyed .<br />How can I put the counter</p>]]></content>
			<author>
				<name><![CDATA[tamim.ali.zoabi]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=1098</uri>
			</author>
			<updated>2019-09-27T12:01:19Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=5633#p5633</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Rotate Camera Script]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=5632#p5632" />
			<content type="html"><![CDATA[<p>Here I don’t know how to help you, because I don’t know how your application works and what components, scripts and settings it uses.</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2019-09-27T09:01:21Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=5632#p5632</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Rotate Camera Script]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=5631#p5631" />
			<content type="html"><![CDATA[<p>i cant figure the problem</p>]]></content>
			<author>
				<name><![CDATA[tamim.ali.zoabi]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=1098</uri>
			</author>
			<updated>2019-09-26T21:19:22Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=5631#p5631</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Rotate Camera Script]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=5630#p5630" />
			<content type="html"><![CDATA[<p>No, this does not affect the display of tooltips.<br />The problem is something else.</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2019-09-26T15:21:03Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=5630#p5630</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Rotate Camera Script]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=5629#p5629" />
			<content type="html"><![CDATA[<p>maybe because i used:<br /> OnlineMapsGUITooltipDrawer.OnPrepareTooltipStyle += OnPrepareTooltipStyle;&nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; }<br />&nbsp; &nbsp; private void OnPrepareTooltipStyle(ref GUIStyle style)<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; // Change the style settings.<br />&nbsp; &nbsp; &nbsp; &nbsp; style.fontSize = Screen.width / 10;&nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; }<br />it doesnt show tooltip</p>]]></content>
			<author>
				<name><![CDATA[tamim.ali.zoabi]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=1098</uri>
			</author>
			<updated>2019-09-26T15:11:59Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=5629#p5629</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Rotate Camera Script]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=5627#p5627" />
			<content type="html"><![CDATA[<p>Just checked, and it works correctly.</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2019-09-26T14:52:29Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=5627#p5627</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Rotate Camera Script]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=5626#p5626" />
			<content type="html"><![CDATA[<p>i used : 2. Online Maps / Advanced / Show Marker Tooltip - Always.<br />its now doesnt show any tooltip !!!!</p>]]></content>
			<author>
				<name><![CDATA[tamim.ali.zoabi]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=1098</uri>
			</author>
			<updated>2019-09-26T13:07:18Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=5626#p5626</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Rotate Camera Script]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=5625#p5625" />
			<content type="html"><![CDATA[<p>Example:<br /><a href="http://infinity-code.com/atlas/online-maps/pages/SmoothMoveExample.html">http://infinity-code.com/atlas/online-m … ample.html</a></p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2019-09-26T12:56:49Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=5625#p5625</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Rotate Camera Script]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=5624#p5624" />
			<content type="html"><![CDATA[<p>Thanks Done<br />how to move smoothly between two markers ?</p>]]></content>
			<author>
				<name><![CDATA[tamim.ali.zoabi]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=1098</uri>
			</author>
			<updated>2019-09-26T12:54:01Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=5624#p5624</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Rotate Camera Script]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=5623#p5623" />
			<content type="html"><![CDATA[<p>1. This should be done differently:<br />The marker is located in the center of the map, and the camera adjusts to display the top of the map.<br />See the screenshot.<br />2. Online Maps / Advanced / Show Marker Tooltip - Always.<br />3. By default, tooltips have no action.<br />To make tooltips have actions you need to implement a custom tooltip engine.<br />Example:<br /><a href="http://infinity-code.com/atlas/online-maps/pages/uGUICustomTooltipForAllMarkersExample.html">http://infinity-code.com/atlas/online-m … ample.html</a><br />And see the UI Bubble Popup example scene.</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2019-09-26T11:56:38Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=5623#p5623</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Rotate Camera Script]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=5622#p5622" />
			<content type="html"><![CDATA[<p>Hi&nbsp; <br />1- how can i make my remark stacked on the buttom ?<br />2- how to show the tooltip all the time &quot;no need to pass the mouse over&quot;&nbsp; ?<br />3- how to add event &quot; like OnClick&quot; to the tooltip to do any Action ?</p>]]></content>
			<author>
				<name><![CDATA[tamim.ali.zoabi]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=1098</uri>
			</author>
			<updated>2019-09-26T11:44:58Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=5622#p5622</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Rotate Camera Script]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=5621#p5621" />
			<content type="html"><![CDATA[<p>If you still want to use Texture Control, simply rotate the map GameObject along the y axis instead of rotating the camera.<br /><a href="https://docs.unity3d.com/ScriptReference/Transform-rotation.html">https://docs.unity3d.com/ScriptReferenc … ation.html</a></p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2019-09-26T11:33:24Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=5621#p5621</id>
		</entry>
</feed>
