<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>shuzo_kino</author_name>
  <author_url>https://blog.hatena.ne.jp/shuzo_kino/</author_url>
  <blog_title>Bye Bye Moore</blog_title>
  <blog_url>https://shuzo-kino.hateblo.jp/</blog_url>
  <categories>
    <anon>unity</anon>
  </categories>
  <description>まえの方法ではInspectorからゲームオブジェクトを張り付ける方法をやってました。 が、これだと生成されたオブジェクト等を対象する場合に使えません。 こういう場合、GameObjectクラスのFindメソッドをつかってシーン中にあるGameObjectを探して割り当てる事ができます。 実際のところ GameObject型のsomethingという変数を用意、そこに&quot;yourTarget&quot;という名前のオブジェクトを探し、 そのテキストをデバッグに表示するには以下のように GameObject something = GameObject.Find(&quot;yourTarget&quot;); 値をデバッグ画…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshuzo-kino.hateblo.jp%2Fentry%2F2021%2F05%2F14%2F235729&quot; title=&quot;GameObjectを探したり中身のテキストを値をとったり - Bye Bye Moore&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>2021-05-14 23:57:29</published>
  <title>GameObjectを探したり中身のテキストを値をとったり</title>
  <type>rich</type>
  <url>https://shuzo-kino.hateblo.jp/entry/2021/05/14/235729</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
