I was trying to set syncRotationAxis through script while inside editor. I am doing this in a usual way:
However, it bounces back and resets to XYZ. I am doing this on a prefab GameObject after calling
which loads previously saved prefab. NetworkTransform component is being added...
syncRotationAxis can't be set from script
Code (CSharp):
- go.GetComponent<NetworkTransform>().syncRotationAxis = NetworkTransform.AxisSyncMode.AxisY;
Code (CSharp):
syncRotationAxis can't be set from script