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