Exemplo n.º 1
0
 //セーブデータ用のバイナリ書き込み
 public void Write(BinaryWriter writer)
 {
     writer.Write(Version);
     writer.WriteLocalTransform(this.transform);
     writer.WriteBuffer(this.EffectColor.Write);
     writer.WriteBuffer((x) => AdvITweenPlayer.WriteSaveData(x, this.gameObject));
     writer.WriteBuffer((x) => AdvAnimationPlayer.WriteSaveData(x, this.gameObject));
 }
Exemplo n.º 2
0
 //セーブデータ用のバイナリ書き込み
 public void Write(BinaryWriter writer)
 {
     writer.Write(Version);
     writer.WriteRectTransfom(this.rectTransform);
     writer.WriteBuffer(this.EffectColor.Write);
     writer.WriteBuffer((x) => AdvITweenPlayer.WriteSaveData(x, this.gameObject));
     writer.WriteBuffer((x) => AdvAnimationPlayer.WriteSaveData(x, this.gameObject));
     writer.WriteBuffer((x) => this.TargetObject.Write(x));
 }