public override void Write(ISerializerStream stream)
 {
     base.Write(stream);
     stream.SerializeBool("IsAmazing", this.IsAmazing);
     stream.SerializeString("TheStateMachine", this.TheStateMachine.Name);;
     stream.SerializeVector3("SomeUnityType", this.SomeUnityType);
 }
Example #2
0
 public override void Write(ISerializerStream stream)
 {
     base.Write(stream);
     stream.SerializeFloat("Life", this.Life);
     if (stream.DeepSerialize)
     {
         stream.SerializeObject("PowerUp", this.PowerUp);
     }
     stream.SerializeVector3("Position", this.Position);
 }
Example #3
0
 public override void Write(ISerializerStream stream)
 {
     base.Write(stream);
     if (stream.DeepSerialize)
     {
         stream.SerializeObject("Player", this.Player);
     }
     stream.SerializeVector3("SpawnPoint", this.SpawnPoint);
     stream.SerializeBool("GameOver", this.GameOver);
     stream.SerializeString("NotificationText", this.NotificationText);
     if (stream.DeepSerialize)
     {
         stream.SerializeArray("Asteroids", this.Asteroids);
     }
 }
 public override void Write(ISerializerStream stream)
 {
     base.Write(stream);
     stream.SerializeVector3("Position", this.Position);
     stream.SerializeInt("Health", this.Health);
 }
Example #5
0
 public override void Write(ISerializerStream stream)
 {
     base.Write(stream);
     stream.SerializeVector3("Position", transform.localPosition);
 }
 public override void Write(ISerializerStream stream) {
     base.Write(stream);
     stream.SerializeBool("IsAmazing", this.IsAmazing);
     stream.SerializeString("TheStateMachine", this.TheStateMachine.Name);;
     stream.SerializeVector3("SomeUnityType", this.SomeUnityType);
 }
 public override void Write(ISerializerStream stream)
 {
     base.Write(stream);
     if (stream.DeepSerialize) stream.SerializeObject("Player", this.Player);
     stream.SerializeVector3("SpawnPoint", this.SpawnPoint);
     stream.SerializeBool("GameOver", this.GameOver);
     stream.SerializeString("NotificationText", this.NotificationText);
     if (stream.DeepSerialize) stream.SerializeArray("Asteroids", this.Asteroids);
 }
 public override void Write(ISerializerStream stream)
 {
     base.Write(stream);
     stream.SerializeFloat("Life", this.Life);
     if (stream.DeepSerialize) stream.SerializeObject("PowerUp", this.PowerUp);
     stream.SerializeVector3("Position", this.Position);
 }