<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kan_kikuchi</author_name>
  <author_url>https://blog.hatena.ne.jp/kan_kikuchi/</author_url>
  <blog_title>(:3[kanのメモ帳]</blog_title>
  <blog_url>https://kan-kikuchi.hatenablog.com/</blog_url>
  <categories>
    <anon>Unity</anon>
    <anon>トラブルシューティング</anon>
  </categories>
  <description>この記事でのバージョン Unity 5.3.4f1 Personal はじめに 今回はタイトル通り、変数の初期値を変更しても反映されない時の対処法です。個人的にはUnityで始めたばかりの頃にハマりやすい所の一つだと思っとります。 原因 ではさっそく本題です。タイトルのような問題は変数をpublicにしているかSerializeFieldを付けている時に起こります。例えば以下のようにpublicな変数を設定したとします。 public float Speed = 4f; この初期値を後から変更すると……、 public float Speed = 5f; なんとInspector側の数字は4の…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkan-kikuchi.hatenablog.com%2Fentry%2FInspector_Trap&quot; title=&quot;変数の初期値を変更しても反映されない時の対処法【Unity】【トラブルシューティング】 - (:3[kanのメモ帳]&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/k/kan_kikuchi/20160719/20160719135238.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2016-09-01 08:01:26</published>
  <title>変数の初期値を変更しても反映されない時の対処法【Unity】【トラブルシューティング】</title>
  <type>rich</type>
  <url>https://kan-kikuchi.hatenablog.com/entry/Inspector_Trap</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
