<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>makijiam</author_name>
  <author_url>https://blog.hatena.ne.jp/makijiam/</author_url>
  <blog_title>Mono Materials</blog_title>
  <blog_url>https://amacara.net/</blog_url>
  <categories>
    <anon>Unity</anon>
    <anon>Script</anon>
    <anon>C#</anon>
  </categories>
  <description>今回は前に仕事で少しハマった内容についてのメモを簡単に残しておきます。内容はというと、Unity製のアプリを起動するときに引数としてトークンが渡されるのでWWWリクエストを投げて起動チェックをかける、といった要件でした。 それで、WWWリクエストは大丈夫だったのですが（まぁこれも少しハマりましたが…）、引数はどうやって取得するんだろうとなりまして。。結論から言えば、C#に用意されているメソッドを利用しましょうということでした。知っていれば何てことないやつでした。 string[] args = System.Environment.GetCommandLineArgs(); このメソッドを呼ん…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Famacara.net%2Fentry%2F2017%2F11%2Fcommandlineargs%2F&quot; title=&quot; [C#] アプリの起動時に指定されたコマンドライン引数の取得 - Mono Materials&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>2017-11-21 18:54:24</published>
  <title> [C#] アプリの起動時に指定されたコマンドライン引数の取得</title>
  <type>rich</type>
  <url>https://amacara.net/entry/2017/11/commandlineargs/</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
