<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>korechi</author_name>
  <author_url>https://blog.hatena.ne.jp/korechi/</author_url>
  <blog_title>これちのPost-it</blog_title>
  <blog_url>https://korechipostit.hatenablog.com/</blog_url>
  <categories>
    <anon>Unity</anon>
    <anon>Android</anon>
  </categories>
  <description>作りたいもの 例えばゲームのMaxスコアを保存したり、フレンドのリストをローカルに保存しておきたい場合があるとします。 それらのデータはアプリを終了して消えてしまったら当然困るので、アプリ終了時にデータをスマートフォン上に保存する必要があります。 その処理を今回紹介したいと思います。 データをローカルに保存する２つの方法 xmlファイルを使う方法 保存したいデータが以下のようなとあるクラスのインスタンス変数の中身だとします。 public class SaveData { [XmlElement(&quot;text&quot;)] public string m_text; [XmlElement(&quot;posit…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkorechipostit.hatenablog.com%2Fentry%2F2017%2F08%2F03%2F191749&quot; title=&quot;Unityでアプリを終了させてもデータを残しておく２つの方法 - これちのPost-it&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2017-08-03 19:17:49</published>
  <title>Unityでアプリを終了させてもデータを残しておく２つの方法</title>
  <type>rich</type>
  <url>https://korechipostit.hatenablog.com/entry/2017/08/03/191749</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
