<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hanaaaaaachiru</author_name>
  <author_url>https://blog.hatena.ne.jp/hanaaaaaachiru/</author_url>
  <blog_title>はなちるのマイノート</blog_title>
  <blog_url>https://www.hanachiru-blog.com/</blog_url>
  <categories>
    <anon>Unity</anon>
  </categories>
  <description>はじめに たまたまUnityを始めたての方のコードをみせていただいた際、RectTransformコンポーネントをいじるためにインスペクター上でゲームオブジェクトの参照をしてGetComponent&lt;RectTransform&gt;()をしていました。 実はどっちも参照できる ただ突き詰めてしまえばGameObjectもRectTransformなどのコンポーネントもクラスです。 インスペクター上で参照をすることができます。 さいごに GetComponent&lt;T&gt;()は比較的重たい処理だといわれています。 なので、使う必要がない場面では使わないほうが無難でしょう！</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.hanachiru-blog.com%2Fentry%2F2019%2F03%2F23%2F174140&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/h/hanaaaaaachiru/20190323/20190323173217.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-03-23 17:41:40</published>
  <title>【Unity】インスペクターではゲームオブジェクトの参照だけじゃなくいろいろ参照できるってお話</title>
  <type>rich</type>
  <url>https://www.hanachiru-blog.com/entry/2019/03/23/174140</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
