public override void Save(GameDataWriter writer) { writer.Write(_objectList.Count); for (int i = 0; i < _objectList.Count; i++) { writer.Write(_objectList[i].ShapeId); writer.Write(_objectList[i].MaterialId); _objectList[i].Save(writer); } }
public override void Save(GameDataWriter writer) { base.Save(writer); writer.Write(Color); }
public virtual void Save(GameDataWriter writer) { writer.Write(transform.localPosition); writer.Write(transform.localRotation); writer.Write(transform.localScale); }