<?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 — PhotonView use]]></title>
		<link>https://forum.infinity-code.com/viewtopic.php?id=1365</link>
		<atom:link href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=1365&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in PhotonView use.]]></description>
		<lastBuildDate>Sat, 21 Sep 2019 12:02:53 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: PhotonView use]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=5599#p5599</link>
			<description><![CDATA[<p><a href="http://infinity-code.com/atlas/online-maps/pages/ModifyTooltipStyleExample.html">http://infinity-code.com/atlas/online-m … ample.html</a><br /><a href="http://infinity-code.com/atlas/online-maps/pages/uGUICustomTooltipForAllMarkersExample.html">http://infinity-code.com/atlas/online-m … ample.html</a></p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Sat, 21 Sep 2019 12:02:53 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=5599#p5599</guid>
		</item>
		<item>
			<title><![CDATA[Re: PhotonView use]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=5598#p5598</link>
			<description><![CDATA[<p>Hi .. <br />when i move the mouse over the marker its show the marker label .. <br />the marker label Font is too small .<br />is there any way to control the size of that font.</p>]]></description>
			<author><![CDATA[null@example.com (tamim.ali.zoabi)]]></author>
			<pubDate>Sat, 21 Sep 2019 12:00:56 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=5598#p5598</guid>
		</item>
		<item>
			<title><![CDATA[Re: PhotonView use]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=5596#p5596</link>
			<description><![CDATA[<p>1. It will not be easier, because in any case you will need to transfer the coordinates.<br />I think hashtable and RPC have the same (pretty low) usage complexity.<br />2. <a href="http://infinity-code.com/atlas/online-maps/pages/RotateMapInsteadMarkerExample.html">http://infinity-code.com/atlas/online-m … ample.html</a><br />3. This happens automatically if you create a marker using Online Maps Location Service.<br />If you create a marker manually:<br /><a href="http://infinity-code.com/atlas/online-maps/pages/Marker_GPS_Example.html">http://infinity-code.com/atlas/online-m … ample.html</a></p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Sat, 21 Sep 2019 11:48:34 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=5596#p5596</guid>
		</item>
		<item>
			<title><![CDATA[Re: PhotonView use]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=5594#p5594</link>
			<description><![CDATA[<p>1-its more easy for me :-) <br />&nbsp; &nbsp; is there any difference between using hashtable and RPC ?<br />2-is there any example about rotating map while driving and keep marker strait &quot;i hope you understood me&quot;<br />3- how can i update my Marker location continually while moving &quot;Driving&quot; ...any example</p>]]></description>
			<author><![CDATA[null@example.com (tamim.ali.zoabi)]]></author>
			<pubDate>Fri, 20 Sep 2019 19:21:48 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=5594#p5594</guid>
		</item>
		<item>
			<title><![CDATA[Re: PhotonView use]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=5593#p5593</link>
			<description><![CDATA[<p>Theoretically - you can do it.<br />Practically - why do you need to do this?</p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Fri, 20 Sep 2019 19:01:06 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=5593#p5593</guid>
		</item>
		<item>
			<title><![CDATA[Re: PhotonView use]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=5590#p5590</link>
			<description><![CDATA[<p>But I can use RPC function&nbsp; for updating players location every some seconds ? Inistid of hashting</p>]]></description>
			<author><![CDATA[null@example.com (tamim.ali.zoabi)]]></author>
			<pubDate>Fri, 20 Sep 2019 14:39:38 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=5590#p5590</guid>
		</item>
		<item>
			<title><![CDATA[Re: PhotonView use]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=5589#p5589</link>
			<description><![CDATA[<p>1. OnlineMapsDrawingElementManager.RemoveItem(route);</p><p>2. The response from Google Directions API may contain alternate routes. <br />In this example, only the main route is used.</p><p>3.1. Unfortunately, I did not understand this problem.<br />Please rephrase this in more detail.</p><p>3.2. Most likely the problem is that you are using the wrong defaultZoom.<br />The latest versions of Online Maps have a much easier way:<br /></p><div class="codebox"><pre><code>marker3D.sizeType = OnlineMapsMarker3D.SizeType.realWorld;
marker3D.scale = SOME_VALUE;</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Fri, 20 Sep 2019 00:14:34 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=5589#p5589</guid>
		</item>
		<item>
			<title><![CDATA[Re: PhotonView use]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=5587#p5587</link>
			<description><![CDATA[<p>Thanks Alex .. it was easy<br />1-&nbsp; But if i draw a rout and later i want to delete it for creating another one ..how do i delete it ?</p><p>&nbsp; &nbsp; should i delete all the parts like :<br />&nbsp; &nbsp; &nbsp; &nbsp;foreach (OnlineMapsGoogleDirectionsResult.Leg leg in result.routes[0].legs)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;foreach (OnlineMapsGoogleDirectionsResult.Step step in leg.steps)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Debug.Log(step.string_instructions);<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }</p><p>or just destroy : result.routes[0]<br />or its is else ?</p><p>---------------------------<br />2-&nbsp; &nbsp;what is the index in (result.routes[0]) ?</p><p>3- when i used and set a 3D Marker .. there is a 2 problems<br />1- the marker &quot;Prefab&quot; moved and change its location by moving the map with the mouse cursor and by zooming .its not <br />&nbsp; &nbsp; sensitive like the 2D Marker ?<br />2- i used your function to scale the 3D Marker when zooming . but the result wasn&#039;t ok ?</p><p>your Function :<br />using UnityEngine;</p><p>public class TestScale3DMarkers : MonoBehaviour<br />{<br />&nbsp; &nbsp; public float defaultZoom = 3;<br />&nbsp; &nbsp; public GameObject prefab;<br />&nbsp; &nbsp; private OnlineMapsMarker3D marker;</p><p>&nbsp; &nbsp; private void Start ()<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; marker = OnlineMapsMarker3DManager.CreateItem(OnlineMaps.instance.position, prefab);</p><p>&nbsp; &nbsp; &nbsp; &nbsp; OnlineMaps.instance.OnChangeZoom += OnChangeZoom;<br />&nbsp; &nbsp; &nbsp; &nbsp; OnChangeZoom();<br />&nbsp; &nbsp; }</p><p>&nbsp; &nbsp; private void OnChangeZoom()<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; marker.scale = Mathf.Pow(2, OnlineMaps.instance.floatZoom - defaultZoom);<br />&nbsp; &nbsp; }<br />}</p>]]></description>
			<author><![CDATA[null@example.com (tamim.ali.zoabi)]]></author>
			<pubDate>Thu, 19 Sep 2019 16:19:51 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=5587#p5587</guid>
		</item>
		<item>
			<title><![CDATA[Re: PhotonView use]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=5586#p5586</link>
			<description><![CDATA[<p>Hello.</p><p>This works differently, and if you just add PhotonView it will not work correctly.<br />How to use Photon PUN2 for markers:<br /><a href="https://forum.infinity-code.com/viewtopic.php?id=936">https://forum.infinity-code.com/viewtopic.php?id=936</a></p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Thu, 19 Sep 2019 13:06:21 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=5586#p5586</guid>
		</item>
		<item>
			<title><![CDATA[PhotonView use]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=5584#p5584</link>
			<description><![CDATA[<p>HI ...<br />i want to display every remark i create on other player screen .so i am using PUN2 .<br />so usually i am adding a photonview component to the gameobject that i want to view for all .. <br />my question is how can i add the photonview component to the Remark . <br />i wont add the photonview component to the online map that contain the Remark .</p>]]></description>
			<author><![CDATA[null@example.com (tamim.ali.zoabi)]]></author>
			<pubDate>Thu, 19 Sep 2019 11:04:55 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=5584#p5584</guid>
		</item>
	</channel>
</rss>
