<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>q7z</author_name>
  <author_url>https://blog.hatena.ne.jp/q7z/</author_url>
  <blog_title>Programming Serendipity</blog_title>
  <blog_url>https://q7z.hatenablog.com/</blog_url>
  <categories>
    <anon>Unity </anon>
    <anon>C#</anon>
  </categories>
  <description>みなさんは、シーン名の指定をするときにどうしてますか。直接文字列で指定するのがよくあるパターンですが、この場合、主に2つの問題点があります。 タイプミスによりシーン名の指定を間違えても、実行するまでエラーに気づかない シーンの設定が変わるなどでその名前のシーンがもはや存在しないとき、やはり実行するまでエラーに気づかない これを解決するためには、文字列を定数化したいことろですが、それを修正のたびに行うのは非現実的です。それこそ、手作業のリスクがそのまま残ってしまいます。 そこで、それらを自動生成することを考えます。続きからどうぞ。</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fq7z.hatenablog.com%2Fentry%2F2017%2F05%2F29%2F231904&quot; title=&quot;Unityでコードの自動生成 - Programming Serendipity&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-05-29 23:19:04</published>
  <title>Unityでコードの自動生成</title>
  <type>rich</type>
  <url>https://q7z.hatenablog.com/entry/2017/05/29/231904</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
