<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mochimoffu</author_name>
  <author_url>https://blog.hatena.ne.jp/mochimoffu/</author_url>
  <blog_title>困った時の自分用メモ</blog_title>
  <blog_url>https://mochimoffu.hateblo.jp/</blog_url>
  <categories>
    <anon>Unity</anon>
    <anon>C#</anon>
  </categories>
  <description>例えば、スキルのマスターデータで、書式指定子の数と、それに指定する数字の数のフォーマットの統一が難しい時に使える方法。 例） スキル1,敵に{0}ダメージを与える,5 スキル2,敵に{0}ダメージを{1}回与える,5,2 と設定した時に、 System.Object[] arguments = new System.Object[data.Count];// 書式指定子に設定する数 for (int i = 0; i &lt; data.Count; i++) { arguments[i] = data[i].Value;// スキル1の5、スキル2の5、2 } UIText.text = stri…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmochimoffu.hateblo.jp%2Fentry%2F2022%2F01%2F31%2F152437&quot; title=&quot;C#の話～string.Formatの書式指定子を可変で指定する方法～ - 困った時の自分用メモ&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>2022-01-31 15:24:37</published>
  <title>C#の話～string.Formatの書式指定子を可変で指定する方法～</title>
  <type>rich</type>
  <url>https://mochimoffu.hateblo.jp/entry/2022/01/31/152437</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
