<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ayousanz</author_name>
  <author_url>https://blog.hatena.ne.jp/ayousanz/</author_url>
  <blog_title>yousanのメモ</blog_title>
  <blog_url>https://ayousanz.hatenadiary.jp/</blog_url>
  <categories>
    <anon>Unity</anon>
  </categories>
  <description>ゲーム内のステージのクリア情報を保存したいですよね？？ どこがクリアしたのかがわからないようじゃ最後のクリア画面に移動できません．．．． では，どうやっていくのか！！ static(静的メンバ)を使います！！ まずは，以下のコードを見てください private static bool clear1,clear2; 〜省略〜 void OnCollisionEnter2D(Collision2D other){ if (other.gameObject.tag == &quot;GameOver&quot;){ SceneManager.LoadScene(&quot;GameOver&quot;); // Debug.Log(&quot;he…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fayousanz.hatenadiary.jp%2Fentry%2F2019%2F05%2F16%2F234740&quot; title=&quot;ステージのクリア情報をコード内で保存．クリアに移動する(Unity,c#) - yousanのメモ&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>2019-05-16 23:47:40</published>
  <title>ステージのクリア情報をコード内で保存．クリアに移動する(Unity,c#)</title>
  <type>rich</type>
  <url>https://ayousanz.hatenadiary.jp/entry/2019/05/16/234740</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
