<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>atsuhiro-me</author_name>
  <author_url>https://blog.hatena.ne.jp/atsuhiro-me/</author_url>
  <blog_title>みーのぺーじ</blog_title>
  <blog_url>https://pc.atsuhiro-me.net/</blog_url>
  <categories>
    <anon>Unity</anon>
  </categories>
  <description>Unityで，AssetsにあるprefabをBooスクリプトからロードしてGameObjectを作成する方法をメモしておきます． Resources.Load(path) を使います．このメソッドはResourcesフォルダにあるオブジェクトをロードします．詳細はこちらに書いてありますが，このメソッドがロードできるのは，Resourcesという名前のフォルダにあるファイルだけなので，Assets内にResourcesという名前のフォルダを作成し，その中に使いたいprefabを入れます． なお，ResourcesフォルダはAssets内の任意のディレクトリに設置可能なので，Assets/Res…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpc.atsuhiro-me.net%2Fentry%2F2013%2F11%2F20%2F191457&quot; title=&quot;Unityでprefabをスクリプトから読み込む - みーのぺーじ&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>2013-11-20 19:14:57</published>
  <title>Unityでprefabをスクリプトから読み込む</title>
  <type>rich</type>
  <url>https://pc.atsuhiro-me.net/entry/2013/11/20/191457</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
