Exemplo n.º 1
0
 public void GetObjectData(SerializationInfo info, StreamingContext context)
 {
     info.AddValue("Version", Version);
     info.AddValue("Visgroups", Visgroups.ToArray());
     info.AddValue("Cameras", Cameras.ToArray());
     info.AddValue("ActiveCameraID", Cameras.IndexOf(ActiveCamera));
     info.AddValue("WorldSpawn", WorldSpawn);
     info.AddValue("IDGenerator", IDGenerator);
 }
Exemplo n.º 2
0
 public void CameraToArray()
 {
     CameraArray = Cameras.ToArray();
 }