<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ayousanz</author_name>
  <author_url>https://blog.hatena.ne.jp/ayousanz/</author_url>
  <blog_title>yousanのメモ</blog_title>
  <blog_url>https://ayousanz.hatenadiary.jp/</blog_url>
  <categories>
    <anon>Unity</anon>
  </categories>
  <description>初めに 開発環境 原因 対応方法 1: コールバックメソッドを静的メソッドに変更 2. MonoPInvokeCallback 属性を追加 3. GCHandle を使用してデータを渡す 初めに Unity プロジェクトで IL2CPP ビルドに切り替えた際、ドラッグ時のアニメーション切り替えが正しく動作しない問題があったため原因と対応方法についてのメモになります 開発環境 Unity 6000.0.31f1 IL2CPP Windows 11 原因 インスタンスメソッドのデリゲートをネイティブコードに渡している インスタンスメソッド（非static メソッド）のデリゲートをネイティブコード（…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fayousanz.hatenadiary.jp%2Fentry%2F2025%2F01%2F13%2F040608&quot; title=&quot;Unity IL2CPPでの「インスタンスメソッドのデリゲートとコールバックの ビルド」のエラー対応 - yousanのメモ&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-01-13 04:06:08</published>
  <title>Unity IL2CPPでの「インスタンスメソッドのデリゲートとコールバックの ビルド」のエラー対応</title>
  <type>rich</type>
  <url>https://ayousanz.hatenadiary.jp/entry/2025/01/13/040608</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
