<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Takachan</author_name>
  <author_url>https://blog.hatena.ne.jp/Takachan/</author_url>
  <blog_title>PG日誌</blog_title>
  <blog_url>https://takap-tech.com/</blog_url>
  <categories>
    <anon>C#</anon>
    <anon>Unity</anon>
    <anon>.NET</anon>
  </categories>
  <description>はじめに Unity の Canvas は特に画面に追従する必要がない場合 Screen Space Overlay にすることが多いと思いますが、Overlay って実際のゲーム画面と比べてサイズが大きすぎて「ゲーム画面を見ながら UI の調整をしたい」みたいなときに少し扱いづらいので「編集中は Screen Space Camera」⇔「 実行中は Screen Space Overlay」 のように切り替えたらいいのでは？というワークフローのためのスクリプトの紹介です。 個人的なスクリプトの用途は「URP でカメラをスタックしたくないけど Canvas は Post Processing…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftakap-tech.com%2Fentry%2F2021%2F12%2F10%2F175005&quot; title=&quot;【Unity】実行中だけCanvasをOverlayにする - PG日誌&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/Takachan/20211210/20211210174018.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-12-10 17:50:05</published>
  <title>【Unity】実行中だけCanvasをOverlayにする</title>
  <type>rich</type>
  <url>https://takap-tech.com/entry/2021/12/10/175005</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
