<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hanaaaaaachiru</author_name>
  <author_url>https://blog.hatena.ne.jp/hanaaaaaachiru/</author_url>
  <blog_title>はなちるのマイノート</blog_title>
  <blog_url>https://www.hanachiru-blog.com/</blog_url>
  <categories>
    <anon>Unity</anon>
  </categories>
  <description>はじめに 以前からプロパティでも[field: SerializeField]と記述することでインスペクターに表示できることは知っていました。 public class Sandbox : MonoBehaviour { [field: SerializeField] public float Value { get; private set; } } インスペクターに表示されている様子個人的に利用しようとはあまり思わなかったのですが、そういえばFormerlySerializedAsAttributeを利用してリネームにも対応できるのかなと気になり調べてみました。というのも以下の記事を読んで…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.hanachiru-blog.com%2Fentry%2F2025%2F07%2F21%2F120000&quot; title=&quot;【Unity】プロパティをインスペクターに表示するために[field: SerializeField]を利用していても[FormerlySerializedAs]でリネーム対応できる - はなちるのマイノート&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/h/hanaaaaaachiru/20250719/20250719214109.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2025-07-21 12:00:00</published>
  <title>【Unity】プロパティをインスペクターに表示するために[field: SerializeField]を利用していても[FormerlySerializedAs]でリネーム対応できる</title>
  <type>rich</type>
  <url>https://www.hanachiru-blog.com/entry/2025/07/21/120000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
