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

Syncvar Hook - How to update a new client?

$
0
0
I'm still trying to understand server/client interaction. The documentation often leaves me with more questions than answers.

This is a 2d top down game where the client players are just pannable cameras looking down on a board game.
A Unit on the board is a gameobject with a child. The child also has a sprite renderer. NetworkTransform takes care of moving the object around, but the child sprite needs updating.

Unit Script
Code (CSharp):
  1. public class Unit : NetworkBehaviour {...
Syncvar Hook - How to update a new client?

Viewing all articles
Browse latest Browse all 16796

Trending Articles



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