<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Infinity Code Forum — Disabled Markers off the Map]]></title>
	<link rel="self" href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=130&amp;type=atom" />
	<updated>2016-04-08T20:55:40Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.infinity-code.com/viewtopic.php?id=130</id>
		<entry>
			<title type="html"><![CDATA[Re: Disabled Markers off the Map]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=563#p563" />
			<content type="html"><![CDATA[<p>Hello.</p><p>Unfortunately, you can not do this without modifying the code.</p><p>You can work around this by making your logic not in script on the marker. <br />You make other class, and invoke some public method of your script on each markers.<br />Or you can subscribe to «OnlineMaps.OnUpdateLate» and your code always will be executed.</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2016-04-08T20:55:40Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=563#p563</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Disabled Markers off the Map]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=561#p561" />
			<content type="html"><![CDATA[<p>I&#039;ve got code attached to the prefabs I&#039;m using to instantiate new 3D map markers. When I drag the map around so that the marker is off the map, the GameObject gets disabled so that it not longer shows on the screen. What I&#039;d like is a way to keep it enabled so that its code can continue to run, but hide it from view so it&#039;s no floating off the edge of the map eating up graphical resources.</p><p>Is there a way to handle this easily? Thanks in advance for your help.</p>]]></content>
			<author>
				<name><![CDATA[Quidam]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=76</uri>
			</author>
			<updated>2016-04-08T18:18:21Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=561#p561</id>
		</entry>
</feed>
