- Home /
Client Getting Tile Info on Top Down Game
Hi all.
Currently when my server creates the map it makes an array of GameObjects that contain each tile. If I want to access tile [15,84] I can just look it up in the array very easily.
However, how can I allow my client to look up a tile's info? I can't Sync a gameobject array after all. The Tiles are all spawned in the game, but short of adding colliders to each tile and performing a top down raycast I can't think of how to get a specific tile's gameobject.
Your answer
Follow this Question
Related Questions
Photon Unity Networking (Viking Demo) Error: Argument is out of range. 1 Answer
Is it possible to make an online multiplayer 2D game in unity using only the unity UI components 1 Answer
Synvar hook firing but value not getting updated on client 0 Answers
How to display connections count on client 4 Answers
UNET Health isn't syncing 1 Answer