public override void Save(GameDataWriter writer) { writer.write(shapes.Count); for (int i = 0; i < shapes.Count; i++) { writer.write(shapes[i].ShapeID); writer.write(shapes[i].MaterialID); shapes[i].Save(writer); } }
public virtual void Save(GameDataWriter writer) { writer.write(transform.localPosition); writer.write(transform.localRotation); writer.write(transform.localScale); }
public override void Save(GameDataWriter writer) { base.Save(writer); writer.write(color); }