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); stream.SerializeFloat("Life", this.Life); if (stream.DeepSerialize) { stream.SerializeObject("PowerUp", this.PowerUp); } stream.SerializeVector3("Position", this.Position); }
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); }
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); }