public void ReadChildData(BinaryReader reader)
 {
     for (int x = 0; x < _particleTypes.Count; x++)
     {
         ParticleTypes.AddNew();
         ParticleTypes[x].Read(reader);
     }
     for (int x = 0; x < _particleTypes.Count; x++)
     {
         ParticleTypes[x].ReadChildData(reader);
     }
 }
Exemplo n.º 2
0
 public void ReadChildData(BinaryReader reader)
 {
     _pointPhysics.ReadString(reader);
     for (int x = 0; x < _physicsConstants.Count; x++)
     {
         PhysicsConstants.AddNew();
         PhysicsConstants[x].Read(reader);
     }
     for (int x = 0; x < _physicsConstants.Count; x++)
     {
         PhysicsConstants[x].ReadChildData(reader);
     }
     for (int x = 0; x < _particleTypes.Count; x++)
     {
         ParticleTypes.AddNew();
         ParticleTypes[x].Read(reader);
     }
     for (int x = 0; x < _particleTypes.Count; x++)
     {
         ParticleTypes[x].ReadChildData(reader);
     }
 }