H
H
hana012021-06-21 19:48:40
C++ / C#
hana01, 2021-06-21 19:48:40

How to store data remotely when working with Unity and PUN2 (Photon Unity Networking)?

Good afternoon everyone!
I create multiplayer in unity using PUN2. In theory, the player creates a "map" and marks an array of coordinates on it, then goes to the "room", where there should be two such maps and each one has its own array of coordinates. The bottom line is to correctly find all the coordinates marked by the enemy. To do this, I believe, it is necessary to store the data of their coordinates and the coordinates of the opponent in a repository to which each player will have access. (Again, it is assumed that the players use different devices.) How to implement this, can you tell?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question