Exemplo n.º 1
0
 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);
     }
 }
Exemplo n.º 2
0
 public virtual void Save(GameDataWriter writer)
 {
     writer.Write(transform.localPosition);
     writer.Write(transform.localRotation);
     writer.Write(transform.localScale);
 }
Exemplo n.º 3
0
 public override void Save(GameDataWriter writer)
 {
     base.Save(writer);
     writer.Write(Color);
 }