public void ReadChildData(BinaryReader 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 < _states.Count; x++) { States.AddNew(); States[x].Read(reader); } for (int x = 0; x < _states.Count; x++) { States[x].ReadChildData(reader); } for (int x = 0; x < _particleStates.Count; x++) { ParticleStates.AddNew(); ParticleStates[x].Read(reader); } for (int x = 0; x < _particleStates.Count; x++) { ParticleStates[x].ReadChildData(reader); } }