<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>coublood</author_name>
  <author_url>https://blog.hatena.ne.jp/coublood/</author_url>
  <blog_title>Cou氏の徒然日記</blog_title>
  <blog_url>https://coublood.hatenablog.com/</blog_url>
  <categories>
    <anon>その他学習</anon>
    <anon>#Unity</anon>
  </categories>
  <description>前回の続き。 今までは固定でオブジェクトを置いていましたが、これではそのパターン以外何も変化がありません。 ボール転がしゲームと同じように、各オブジェクトをプレハブ化して、起動時にオブジェクトを初期化して配置するようにします。 作ったオブジェクトをAssets配下に移動してプレハブ化。 ヒエラルキーにある元のオブジェクトは削除してしまってOK。 これでさっぱりしますね。 そして、空オブジェクトを作って、そこにスクリプトを追加。 いきなり色々と作ると大変なので、まずはブロックを規則正しく担ってしまいますが、一定数を一定座標に配置するように作ってみます。 using System.Collecti…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fcoublood.hatenablog.com%2Fentry%2F2021%2F01%2F19%2F120000&quot; title=&quot;Unityで遊ぼう [ブロック崩し編 その４：プレハブ化＋オブジェクト生成] - Cou氏の徒然日記&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/c/coublood/20210117/20210117005755.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-01-19 12:00:00</published>
  <title>Unityで遊ぼう [ブロック崩し編 その４：プレハブ化＋オブジェクト生成]</title>
  <type>rich</type>
  <url>https://coublood.hatenablog.com/entry/2021/01/19/120000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
