<?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>C#</anon>
    <anon>Unity </anon>
  </categories>
  <description>子オブジェクトまで全て再帰的に有効・無効にする Textコンポーネントなどに用意されているenebledフィールドは、これだけをtrue/falseにすると、 このコンポーネントがアタッチされているオブジェクトだけが有効・無効になり、その子オブジェクトなどはそのままになる。 これを制御するには、TextとしてではなくGameObjectとして受け取り、 SetActive(false);のようにすると下の階層のオブジェクトも全て無効になる。 GameObjectの配列の長さを動的に変更する Gameobject[] など、生の配列は固定長なので、C#の機能を使う。 using System.C…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fq7z.hatenablog.com%2Fentry%2F2015%2F07%2F29%2F184404&quot; title=&quot;Unity5 メモ11 - 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>2015-07-29 18:44:04</published>
  <title>Unity5 メモ11</title>
  <type>rich</type>
  <url>https://q7z.hatenablog.com/entry/2015/07/29/184404</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
