<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>baba_s</author_name>
  <author_url>https://blog.hatena.ne.jp/baba_s/</author_url>
  <blog_title>コガネブログ</blog_title>
  <blog_url>https://baba-s.hatenablog.com/</blog_url>
  <categories>
    <anon>Unity</anon>
    <anon>Unity - 新機能</anon>
  </categories>
  <description>概要 using UnityEngine; internal sealed class Player : MonoBehaviour { private static TagHandle? m_enemyTagHandle; private void OnTriggerEnter2D( Collider2D other ) { m_enemyTagHandle ??= TagHandle.GetExistingTag( &quot;Enemy&quot; ); if ( other.CompareTag( m_enemyTagHandle.Value ) ) { } } } Unity 2023.2.0f1 から…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbaba-s.hatenablog.com%2Fentry%2F2025%2F03%2F09%2F142508&quot; title=&quot;【Unity】CompareTag は string よりも TagHandle を使う方が高速 - コガネブログ&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>2025-03-09 14:25:08</published>
  <title>【Unity】CompareTag は string よりも TagHandle を使う方が高速</title>
  <type>rich</type>
  <url>https://baba-s.hatenablog.com/entry/2025/03/09/142508</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
