- Home /
Sync Var and transform
if my Sync var component is "above" my transform component , my client and host cannot be the same in transform position,but my Sync Var can be the same. on the contrary, if my Sync Var is "below" my transform component,the transform component can work correctly.
Answer by ray2yar · Jan 19, 2019 at 02:25 PM
Have no idea what your are asking. To Sync a variable you put it BEFORE the variable. Also, I'm pretty sure you can only sync basic types like floats, ints, etc... I don't think you can sync a transform. If you want the transform to tracked over a network you should add a network.transform component to the gameobject along with a network.identity
Your answer

Follow this Question
Related Questions
How to sync child objects of a transform in multiplayer 3 Answers
Copy Transform 1 Answer
2D Animation does not start 1 Answer
How to Change Background Sprite at run time ? 0 Answers
"transform" in a static function 1 Answer