public OrbitalDataUnity(OrbitalData data)
 {
     this.Info   = data.Info;
     this.Orbits = new List <OrbitUnity>();
     foreach (Orbit orbit in data.Orbits)
     {
         this.Orbits.Add(new OrbitUnity(orbit));
     }
 }
示例#2
0
 public static string ToJson(this OrbitalData self) => JsonConvert.SerializeObject(self, QuickType.Converter.Settings);