<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Inuosann</author_name>
  <author_url>https://blog.hatena.ne.jp/Inuosann/</author_url>
  <blog_title>いぬおさんのおもしろ数学実験室</blog_title>
  <blog_url>https://www.omoshiro-suugaku.com/</blog_url>
  <categories>
    <anon>Unity</anon>
    <anon>プログラミング</anon>
    <anon>雑記</anon>
  </categories>
  <description>■■■開発日記 イベントはしばらく使わない！ Unity、C#には「イベント」という仕組みがあります。例えば弾を当て、敵キャラを殺したとしましょう。このとき、例えば弾の当たり判定（コードの、当たったかどうか判断する部分）で「弾が敵に当たったよ」とゲーム全体に通知します（「イベントを発行する」と言います）。敵を殺したらスコアも増やす必要があるし、弾が当たった敵が例えば爆発する様子を描画したいかも知れません。そして爆発音を流したいでしょう。そこで、スコアを管理するクラス、エフェクトの描画をするクラス、効果音を流すクラスは「弾が敵に当たったよ」という通知を受け取り（「イベントを購読する」と言います）…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.omoshiro-suugaku.com%2Fentry%2Fevent-not-using&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>https://cdn-ak.f.st-hatena.com/images/fotolife/I/Inuosann/20260503/20260503095611.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2026-05-03 09:59:19</published>
  <title>ゲーム開発でイベントはしばらく使わない！</title>
  <type>rich</type>
  <url>https://www.omoshiro-suugaku.com/entry/event-not-using</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
