Quantcast
Channel: Multiplayer
Viewing all articles
Browse latest Browse all 16796

How to sync sortingOrders between different GameObjects

$
0
0
My understanding is that when using SyncVar's the sync is between the same objects two client copies.

How would I go about in something like a card like game when i have 52 cards that needs to have unique sortingOrder's?

Would it be possible to use a Singleton in any way or what would be the best strategy to make sure that all different cards have unique sortingOrder?

Any advise would be appreciated.

Viewing all articles
Browse latest Browse all 16796

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>