<?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 — Is there a way to scroll the map when buildings are placed on it?]]></title>
		<link>https://forum.infinity-code.com/viewtopic.php?id=188</link>
		<atom:link href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=188&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Is there a way to scroll the map when buildings are placed on it?.]]></description>
		<lastBuildDate>Sun, 17 Jul 2016 19:36:32 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Is there a way to scroll the map when buildings are placed on it?]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=851#p851</link>
			<description><![CDATA[<p>Hello.</p><p>Example of how to disable colliders:<br /></p><div class="codebox"><pre><code>using UnityEngine;

public class DisableBuildingColliders : MonoBehaviour
{
    private void Start()
    {
        OnlineMapsBuildings.instance.OnBuildingCreated += OnBuildingCreated;
    }

    private void OnBuildingCreated(OnlineMapsBuildingBase building)
    {
        building.GetComponent&lt;MeshCollider&gt;().enabled = false;
    }
}</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Sun, 17 Jul 2016 19:36:32 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=851#p851</guid>
		</item>
		<item>
			<title><![CDATA[Is there a way to scroll the map when buildings are placed on it?]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=847#p847</link>
			<description><![CDATA[<p>Hi, I&#039;m loving this asset so far, but I&#039;m having one issue. When I add the building script.. the buildings block the mouse-down dragging input.</p><p>Is there a way to ignore the buildings so that I can drag anywhere on the map to move it around?</p>]]></description>
			<author><![CDATA[null@example.com (PyroStudios)]]></author>
			<pubDate>Sun, 17 Jul 2016 14:51:58 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=847#p847</guid>
		</item>
	</channel>
</rss>
