<?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>Boo</anon>
  </categories>
  <description>Unityで，別のオブジェクトのコンポーネントにアクセスしたい場合は以下のように表記します． Boo GameObject.Find(&quot;&lt;object name&gt;&quot;).GetComponent[of &lt;component name&gt;]() 例えば，Main Cameraというカメラの，scoreというスクリプトのscoreというpublic な変数に100を足したい場合は， GameObject.Find(&quot;Main Camera&quot;).GetComponent[of score]().score += 100 となります．Booでは[]を使って型を指定するようです．</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%2F15%2F052650&quot; title=&quot;別のObjectのComponentにBooでアクセスする方法 - みーのぺーじ&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-15 05:26:50</published>
  <title>別のObjectのComponentにBooでアクセスする方法</title>
  <type>rich</type>
  <url>https://pc.atsuhiro-me.net/entry/2013/11/15/052650</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
