public virtual void ReadChildData(BinaryReader reader) { int x = 0; for (x = 0; (x < _particleTypes.Count); x = (x + 1)) { ParticleTypes.Add(new WeatherParticleTypeBlock()); ParticleTypes[x].Read(reader); } for (x = 0; (x < _particleTypes.Count); x = (x + 1)) { ParticleTypes[x].ReadChildData(reader); } }
public virtual void ReadChildData(BinaryReader reader) { int x = 0; _pointPhysics.ReadString(reader); for (x = 0; (x < _physicsConstants.Count); x = (x + 1)) { PhysicsConstants.Add(new ParticleSystemPhysicsConstantsBlock()); PhysicsConstants[x].Read(reader); } for (x = 0; (x < _physicsConstants.Count); x = (x + 1)) { PhysicsConstants[x].ReadChildData(reader); } for (x = 0; (x < _particleTypes.Count); x = (x + 1)) { ParticleTypes.Add(new ParticleSystemTypesBlock()); ParticleTypes[x].Read(reader); } for (x = 0; (x < _particleTypes.Count); x = (x + 1)) { ParticleTypes[x].ReadChildData(reader); } }