<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tsubaki_t1</author_name>
  <author_url>https://blog.hatena.ne.jp/tsubaki_t1/</author_url>
  <blog_title>テラシュールブログ</blog_title>
  <blog_url>https://tsubakit1.hateblo.jp/</blog_url>
  <categories>
    <anon>Unity</anon>
  </categories>
  <description>Unity助け合い所で「カメラに写っているオブジェクトの一覧を取得する方法」が聞かれていたので、ここに書いておこうと思う。デモ 楽な方法は、OnBecameVisible()及びOnBecameInvisible()を使用する方法。OnBecameVisibleは可視状態になった際に呼ばれるMonoBehaviourのコールバック。OnBecameInvisibleは逆。つまりUpdateのようにコンポーネントに書いておけば勝手に呼ばれるメソッドだ。こんな感じの処理を記載しておけば、画面外にオブジェクトが移動した際は処理を停止させてくれる。 void OnBecameInvisible () …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftsubakit1.hateblo.jp%2Fentry%2F20131007%2F1381156232&quot; title=&quot;カメラに写っている間のみ処理を行う - テラシュールブログ&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>http://tsubakit1.sakura.ne.jp/images/20131008000446130s.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2013-10-07 23:30:32</published>
  <title>カメラに写っている間のみ処理を行う</title>
  <type>rich</type>
  <url>https://tsubakit1.hateblo.jp/entry/20131007/1381156232</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
