Question by
AllTheGoodNamesWereTaken · Oct 22, 2015 at 08:21 AM ·
transformnetworksyncmode
SetSyncTransform()?
I'm not real familiar with the syntax for enumerators. When an object has a NetworkTransform on it you can set the value in the editor but how do you set NetworkTransform.TransformSyncMode.SyncTransform in code?
gameObject.NetworkTransform.TransformSyncMode = SyncTransform;
?
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612042230im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
[UNET] Transform sycing problem,[UNET] TRANSFORMATION SYCING PROBLEMS 0 Answers
Syncing SetActive over network 0 Answers
MultiPlayer Transform Sync 0 Answers
syncvar not changing after command 0 Answers
Network Animations 0 Answers