<?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 — Disable only the translation of the map]]></title>
		<link>https://forum.infinity-code.com/viewtopic.php?id=1156</link>
		<atom:link href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=1156&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Disable only the translation of the map.]]></description>
		<lastBuildDate>Mon, 13 May 2019 20:07:30 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Disable only the translation of the map]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=4937#p4937</link>
			<description><![CDATA[<p>Yes, it work! As always thanks a lot!</p>]]></description>
			<author><![CDATA[null@example.com (danielesuppo)]]></author>
			<pubDate>Mon, 13 May 2019 20:07:30 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=4937#p4937</guid>
		</item>
		<item>
			<title><![CDATA[Re: Disable only the translation of the map]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=4930#p4930</link>
			<description><![CDATA[<p>For example in this way:<br /></p><div class="codebox"><pre><code>using UnityEngine;

public class LockMouseDrag: MonoBehaviour
{
    private OnlineMapsControlBase control;

    private void Start()
    {
        control = OnlineMapsControlBase.instance;
        control.OnMapPress += OnMapPress;
    }

    private void OnMapPress()
    {
        control.OnUpdateAfter += OnUpdateAfter;
    }

    private void OnUpdateAfter()
    {
        control.OnUpdateAfter -= OnUpdateAfter;
        control.isMapDrag = false;
    }
}</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Sun, 12 May 2019 19:26:22 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=4930#p4930</guid>
		</item>
		<item>
			<title><![CDATA[Re: Disable only the translation of the map]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=4929#p4929</link>
			<description><![CDATA[<p>I should not to limit the map coordinates because actually I&#039;m translating the map by script (that&#039;s why I&#039;d like the user not to be able to move the map with mouse).<br />Is there another way?</p>]]></description>
			<author><![CDATA[null@example.com (danielesuppo)]]></author>
			<pubDate>Sun, 12 May 2019 16:30:46 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=4929#p4929</guid>
		</item>
		<item>
			<title><![CDATA[Re: Disable only the translation of the map]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=4925#p4925</link>
			<description><![CDATA[<p>Hello.</p><p>Add Online Maps Limits component, and limit the coordinates to the map coordinates.</p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Sun, 12 May 2019 09:54:10 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=4925#p4925</guid>
		</item>
		<item>
			<title><![CDATA[Disable only the translation of the map]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=4922#p4922</link>
			<description><![CDATA[<p>Hello,<br />as the title suggest I&#039;d like to disable ONLY the translation of the map by left mouse click from &quot;TileSetControl&quot;, and let the user just to use to wheel mouse for the zoom.<br />Is it possible?<br />Thank-you!</p>]]></description>
			<author><![CDATA[null@example.com (danielesuppo)]]></author>
			<pubDate>Sat, 11 May 2019 17:32:44 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=4922#p4922</guid>
		</item>
	</channel>
</rss>
