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); } }
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); } }