private void SerializeModeTransform(NetworkWriter writer)
 {
     writer.Write(m_Target.localPosition);
     if (m_SyncRotationAxis != 0)
     {
         NetworkTransform.SerializeRotation3D(writer, m_Target.localRotation, syncRotationAxis, rotationSyncCompression);
     }
     m_PrevPosition = m_Target.localPosition;
     m_PrevRotation = m_Target.localRotation;
 }
        void SerializeModeTransform(NetworkWriter writer)
        {
            // position
            writer.Write(m_Target.localPosition);

            // rotation
            if (m_SyncRotationAxis != NetworkTransform.AxisSyncMode.None)
            {
                NetworkTransform.SerializeRotation3D(writer, m_Target.localRotation, syncRotationAxis, rotationSyncCompression);
            }
            m_PrevPosition = m_Target.localPosition;
            m_PrevRotation = m_Target.localRotation;
        }