<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>bookreadkun</author_name>
  <author_url>https://blog.hatena.ne.jp/bookreadkun/</author_url>
  <blog_title>おーみんブログ</blog_title>
  <blog_url>https://oooomincrypto.hatenadiary.jp/</blog_url>
  <categories>
    <anon>Unity</anon>
  </categories>
  <description>おはようございます。おーみんです。 現在UnityでRPGを作成中です。 今回の記事では「シーン遷移したときに、遷移前の情報を保持する方法」について書いていこうと思います。 RPGなどでフィールドを歩いている途中に敵と遭遇→戦闘シーンへ切り替わり→敵を倒した後にフィールドシーンに戻りますよね。 通常のシーン遷移だと遷移する際に前の情報は破棄されてしまうので、戦闘シーンからフィールドシーンへ戻ったときは再びオブジェクトは初期位置に戻ってしまうのです。 それではゲームとして成り立ちません・・・ ということで、解決していきましょう！ プログラムを以下に示します。 ------------------…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Foooomincrypto.hatenadiary.jp%2Fentry%2Fabout-unity-scene&quot; title=&quot;【Unity】シーン遷移の際に、シーンの状態を保持しておく超簡単な方法。 - おーみんブログ&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>https://cdn-ak.f.st-hatena.com/images/fotolife/b/bookreadkun/20190116/20190116093953.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-01-16 12:00:00</published>
  <title>【Unity】シーン遷移の際に、シーンの状態を保持しておく超簡単な方法。</title>
  <type>rich</type>
  <url>https://oooomincrypto.hatenadiary.jp/entry/about-unity-scene</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
