<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kan_kikuchi</author_name>
  <author_url>https://blog.hatena.ne.jp/kan_kikuchi/</author_url>
  <blog_title>(:3[kanのメモ帳]</blog_title>
  <blog_url>https://kan-kikuchi.hatenablog.com/</blog_url>
  <categories>
    <anon>Unity</anon>
  </categories>
  <description>この記事でのバージョン Unity 2022.2.8f1 はじめに UnityではOnCollisionEnter等、衝突の検知が出来るコールバックがありますが、 //衝突した時に実行される private void OnCollisionEnter(Collision collision) {} これらは各オブジェクトごと及び各衝突ごとに実行されるため、大量に発生すると重くなりがちです。 しかしUnity 2022.2から全ての衝突を一度に取得し、一括で処理出来るようになりました！ という事で今回は、それを試してみた感じの記事です。 なお、記事中の画像は以下のアセットを使っております。 Mo…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkan-kikuchi.hatenablog.com%2Fentry%2FContact_Event&quot; title=&quot;全ての衝突を一度に取得し、一括で処理出来る Contact Event【Unity】 - (:3[kanのメモ帳]&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/k/kan_kikuchi/20230607/20230607184204.gif</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2023-06-08 07:56:37</published>
  <title>全ての衝突を一度に取得し、一括で処理出来る Contact Event【Unity】</title>
  <type>rich</type>
  <url>https://kan-kikuchi.hatenablog.com/entry/Contact_Event</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
