<?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>C#</anon>
  </categories>
  <description>はじめに もしUnityを扱ったことのある方は以下のようなコードをみたことはないでしょうか。 #if UNITY_EDITOR Debug.Log(&quot;Unity Editor&quot;); #endif #if ~ #endifの中にあるDebug.LogはUnityのエディタのときのみコンパイル，実行されます。これらは別にUnity特有の機能というわけではなく、C#の機能です。今回はこの#ifについて取り上げていきたいと思います。 はじめに #ifディレクティブ Conditional属性 さいごに #ifディレクティブ 冒頭でも述べましたが、#ifと#endifの両ディレクティブで囲まれたコードの…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.hanachiru-blog.com%2Fentry%2F2020%2F06%2F07%2F120000&quot; title=&quot;【C#】#ifディレクティブとConditional属性について - はなちるのマイノート&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>2020-06-07 12:00:00</published>
  <title>【C#】#ifディレクティブとConditional属性について</title>
  <type>rich</type>
  <url>https://www.hanachiru-blog.com/entry/2020/06/07/120000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
