<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>taiyakisun</author_name>
  <author_url>https://blog.hatena.ne.jp/taiyakisun/</author_url>
  <blog_title>結果だけでなく過程も見てください</blog_title>
  <blog_url>https://taiyakisun.hatenablog.com/</blog_url>
  <categories>
    <anon>C#</anon>
    <anon>Unity</anon>
    <anon>ゲーム</anon>
    <anon>プログラミング</anon>
    <anon>備忘録</anon>
    <anon>技術</anon>
  </categories>
  <description>※本記事では絶対座標、外部座標などの呼び方を「ワールド座標」に統一します。Unityのヒエラルキーで親子関係がある場合、子のオブジェクトの座標は親からの相対座標(Local Position)のみが表示されます（以下赤枠部分）。 しかし、例えばアクションゲームでステージにオブジェクトを整列して配置したい場合など、相対座標では不便で、ワールド座標の方が都合が良いことが多々あります。今回はインスペクタにワールド座標を表示する方法をご紹介します。 AssetsにEditorを追加する 以下のようにAssets直下にEditorというフォルダを追加します。 Editorにソースコードを追加する 作成し…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftaiyakisun.hatenablog.com%2Fentry%2F2021%2F03%2F23%2F223852&quot; title=&quot;Unityで親子関係のある子オブジェクトのワールド座標(絶対座標、外部座標)をインスペクタに表示する方法 - 結果だけでなく過程も見てください&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/t/taiyakisun/20210323/20210323222934.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-03-23 22:38:52</published>
  <title>Unityで親子関係のある子オブジェクトのワールド座標(絶対座標、外部座標)をインスペクタに表示する方法</title>
  <type>rich</type>
  <url>https://taiyakisun.hatenablog.com/entry/2021/03/23/223852</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
