<?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 - Odin Inspector</anon>
  </categories>
  <description>目次 「OnValueChanged」属性 「OnValueChanged」属性を使用すると 変数やプロパティの値が変更された時に呼び出される コールバック関数を指定することができます using Sirenix.OdinInspector; using UnityEngine; public class Example : MonoBehaviour { [OnValueChanged( &quot;OnChanged&quot; )] public int a; private void OnChanged() { Debug.Log( &quot;log&quot; ); } } 使い方 変更を検知したい変数やプロパティに対し…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbaba-s.hatenablog.com%2Fentry%2F2017%2F07%2F26%2F180000&quot; title=&quot;【Unity】【Odin - Inspector and Serializer】値が変更された時に呼び出されるコールバック関数を設定できる「OnValueChanged」属性 - コガネブログ&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.user.blog.st-hatena.com/default_entry_og_image/94867065/1535279515352365</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2017-07-26 18:00:00</published>
  <title>【Unity】【Odin - Inspector and Serializer】値が変更された時に呼び出されるコールバック関数を設定できる「OnValueChanged」属性</title>
  <type>rich</type>
  <url>https://baba-s.hatenablog.com/entry/2017/07/26/180000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
