protected override void Deserialize(NetDeserializer s)
        {
            this.initial = s.ReadBool();

            var count = s.ReadByte();

            if (this.data == null)
            {
                this.data = new List <RigidbodySyncData>(count);
            }
            else
            {
                this.data.Clear();
            }

            for (int i = 0; i < count; i++)
            {
                this.data.Add(new RigidbodySyncData()
                {
                    syncId          = s.ReadInt(),
                    prefabType      = s.ReadPrefabType(),
                    position        = s.ReadExactVector3(),
                    rotation        = s.ReadQuaternion(),
                    velocity        = s.ReadVector3(),
                    angularVelocity = s.ReadVector3()
                });
            }
        }
 protected override void Deserialize(NetDeserializer s)
 {
     this.data = new RigidbodySyncData()
     {
         syncId     = s.ReadInt(),
         prefabType = s.ReadPrefabType(),
         position   = s.ReadExactVector3(),
         rotation   = s.ReadQuaternion()
     };
 }
 protected override void Deserialize(NetDeserializer s)
 {
     this.prefabType = s.ReadPrefabType();
 }