<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>nn_hokuson</author_name>
  <author_url>https://blog.hatena.ne.jp/nn_hokuson/</author_url>
  <blog_title>おもちゃラボ</blog_title>
  <blog_url>https://nn-hokuson.hatenablog.com/</blog_url>
  <categories>
    <anon>Unity</anon>
  </categories>
  <description>Unityエディタ上でモデルを並べる場合、通常はPrefabをシーンビューにドラッグ＆ドロップして並べますね。ただ、数が多くなると手作業で並べるのは大変なので、スクリプトを使って並べられると便利です。そこで、この記事ではUnityエディタ拡張を使って、Unityエディタ上でPrefabを並べる方法を紹介します。今回はメニューから「PlaceCubes」という項目を選択したら自動的にCubeのPrefabを並べるエディタ拡張スクリプトを作ってみます。エディタ拡張を使ってモデルを並べる流れは次のとおりです。 CubeのPrefabを作る エディタ拡張スクリプトを作る メニューを選択する 参考 Cu…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnn-hokuson.hatenablog.com%2Fentry%2F2020%2F10%2F20%2F221946&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/n/nn_hokuson/20201020/20201020214646.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-10-20 22:19:46</published>
  <title>【Unity】メニューからモデルを配置する</title>
  <type>rich</type>
  <url>https://nn-hokuson.hatenablog.com/entry/2020/10/20/221946</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
