<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Infinity Code Forum — Add Gameobject as building]]></title>
	<link rel="self" href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=1755&amp;type=atom" />
	<updated>2021-04-13T19:43:25Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.infinity-code.com/viewtopic.php?id=1755</id>
		<entry>
			<title type="html"><![CDATA[Re: Add Gameobject as building]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=7381#p7381" />
			<content type="html"><![CDATA[<p>Hello.</p><p>Create your GameObject as a 3D marker, and disable your building by id using OnlineMapsBuildings.OnCreateBuilding.<br />Something like:<br /></p><div class="codebox"><pre><code>OnlineMapsBuildings.instance.OnCreateBuilding += data =&gt; { return data.way.id != idWhichShouldNotBeGenerated; };</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2021-04-13T19:43:25Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=7381#p7381</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Add Gameobject as building]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=7379#p7379" />
			<content type="html"><![CDATA[<p>Hello, I am using another asset to import a .fbx model into unity as a game object, I am currently using it to import the buildings model into unity and I would like to add these game objects into the online map building during run time. How can I add them so they perform similarly with the current buildings, thank you!</p>]]></content>
			<author>
				<name><![CDATA[zhenkai]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=1561</uri>
			</author>
			<updated>2021-04-13T07:52:44Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=7379#p7379</id>
		</entry>
</feed>
