<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>baba_s</author_name>
  <author_url>https://blog.hatena.ne.jp/baba_s/</author_url>
  <blog_title>コガネブログ</blog_title>
  <blog_url>https://baba-s.hatenablog.com/</blog_url>
  <categories>
    <anon>Unity</anon>
  </categories>
  <description>ソースコード public static class RandomUtils { /// &lt;summary&gt; /// 指定された配列の中からランダムに要素を返します /// &lt;/summary&gt; public static T Random&lt;T&gt;( params T[] values ) { return values[ UnityEngine.Random.Range( 0, values.Length ) ]; } } 使い方 RandomUtils.Random( 1, 5, 10, 50, 100 ); RandomUtils.Random( &quot;王国兵士&quot;, &quot;魔法使い&quot; ); 関連記…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbaba-s.hatenablog.com%2Fentry%2F2014%2F10%2F28%2F191501&quot; title=&quot;【Unity】指定された配列からランダムに要素を返す関数 - コガネブログ&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.user.blog.st-hatena.com/default_entry_og_image/94867065/1535279515352365</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2014-10-28 19:15:01</published>
  <title>【Unity】指定された配列からランダムに要素を返す関数</title>
  <type>rich</type>
  <url>https://baba-s.hatenablog.com/entry/2014/10/28/191501</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
