<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tm8r</author_name>
  <author_url>https://blog.hatena.ne.jp/tm8r/</author_url>
  <blog_title>するめとめがね</blog_title>
  <blog_url>https://tm8r.hateblo.jp/</blog_url>
  <categories>
    <anon>Unity</anon>
  </categories>
  <description>普通にGUI上からいじれますが、どうしてもスクリプトでやりたいでござる…！というときのために。以下のようにTools.visibleLayersを編集することで実現できます。 // UIレイヤーを非表示 Tools.visibleLayers &amp;= ~(1 &lt;&lt; LayerMask.NameToLayer (&quot;UI&quot;)); // UIレイヤーを非表示にして他は表示 Tools.visibleLayers = ~(1 &lt;&lt; LayerMask.NameToLayer (&quot;UI&quot;)); // UIレイヤーを表示 Tools.visibleLayers |= (1 &lt;&lt; LayerMask.Name…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftm8r.hateblo.jp%2Fentry%2F2016%2F06%2F10%2F201645&quot; title=&quot;【Unity】Sceneビューやカメラのレイヤー表示を切り替える - するめとめがね&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>2016-06-10 20:16:45</published>
  <title>【Unity】Sceneビューやカメラのレイヤー表示を切り替える</title>
  <type>rich</type>
  <url>https://tm8r.hateblo.jp/entry/2016/06/10/201645</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
