Exemplo n.º 1
0
 public void ReadChildData(BinaryReader reader)
 {
     _model.ReadString(reader);
     _animation_graph.ReadString(reader);
     _indoorFogScreen.ReadString(reader);
     for (int x = 0; x < _shaderFunctions.Count; x++)
     {
         ShaderFunctions.AddNew();
         ShaderFunctions[x].Read(reader);
     }
     for (int x = 0; x < _shaderFunctions.Count; x++)
     {
         ShaderFunctions[x].ReadChildData(reader);
     }
     for (int x = 0; x < _animations.Count; x++)
     {
         Animations.AddNew();
         Animations[x].Read(reader);
     }
     for (int x = 0; x < _animations.Count; x++)
     {
         Animations[x].ReadChildData(reader);
     }
     for (int x = 0; x < _lights.Count; x++)
     {
         Lights.AddNew();
         Lights[x].Read(reader);
     }
     for (int x = 0; x < _lights.Count; x++)
     {
         Lights[x].ReadChildData(reader);
     }
 }