<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Harukichi</author_name>
  <author_url>https://blog.hatena.ne.jp/Harukichi/</author_url>
  <blog_title>Unity研究所&lt;Unityによるゲーム開発、映像開発&gt;</blog_title>
  <blog_url>https://harukichi.hatenadiary.jp/</blog_url>
  <categories>
    <anon>Unity</anon>
    <anon>UnityEvent</anon>
    <anon>Unity小ネタ</anon>
  </categories>
  <description>あるオブジェクトが動作を終了したタイミングで、他のオブジェクトが動作を開始するような処理を実装する場合に、どのような方法を思いつくだろうか? アニメーションであれば、アニメーションのタイムライン上にイベントを設定して、別な処理を割り付けて、ということは可能 では、上記ではなく、スクリプト内のある処理の実行が終了したことを、別のオブジェクトに通知したいような場合はどうするか? 例 オブジェクトA :処理を実行し、終了したらオブジェクトBに通知 オブジェクトB :ある処理を実行 〇実装案 オブジェクトAは処理が終了したらフラグを立てる オブジェクトBは、Update関数内からオブジェクトAの終了フ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fharukichi.hatenadiary.jp%2Fentry%2F2021%2F10%2F03%2F222805&quot; title=&quot;Unity 小ネタ　別のオブジェクトへ処理が終了したことを通知する　UnityEventの活用 - Unity研究所&amp;lt;Unityによるゲーム開発、映像開発&amp;gt;&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/Harukichi/20211003/20211003221052.gif</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-10-03 22:28:05</published>
  <title>Unity 小ネタ　別のオブジェクトへ処理が終了したことを通知する　UnityEventの活用</title>
  <type>rich</type>
  <url>https://harukichi.hatenadiary.jp/entry/2021/10/03/222805</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
