<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ryoh_k</author_name>
  <author_url>https://blog.hatena.ne.jp/ryoh_k/</author_url>
  <blog_title>ryoh_kの日記</blog_title>
  <blog_url>https://ryoh-k.hateblo.jp/</blog_url>
  <categories>
  </categories>
  <description>ValueObjectライクにクラスを使いたかったので、フィールドを独自クラスにしたかった。 だけど、独自クラスだとインスペクタから値を変えれなかった。 調べると&quot;[Serializable]&quot;を使えばできるようなのでメモ。 下記のように独自クラスに&quot;[System.Serializable]&quot;を割り当てて さらに中のフィールドに&quot;[SerializeField]&quot;かpublicにすれば独自クラスもインスペクタから編集できるようになる。 using System.Collections; using System.Collections.Generic; using UnityEngine; …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fryoh-k.hateblo.jp%2Fentry%2F2020%2F02%2F06%2F200000&quot; title=&quot;Unity 独自クラスをScritableObjectで編集できるようにする。 - ryoh_kの日記&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>2020-02-06 20:00:00</published>
  <title>Unity 独自クラスをScritableObjectで編集できるようにする。</title>
  <type>rich</type>
  <url>https://ryoh-k.hateblo.jp/entry/2020/02/06/200000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
