{"description":"function ShuffleIntAry( ary:int[] ) { for(var x:int in ary) { var i:int = Random.Range(0, ary.Length); var j:int = Random.Range(0, ary.Length); var tmp:int = ary[i]; ary[i] = ary[j]; ary[j] = tmp; } } \u30fb\u4f7f\u3044\u65b9 var ary:int[] = [0, 1, 2, 3, 4, 5, 6]; ShuffleIntAry(ary); for(var l in ary) { Debug.Log(l); }","published":"2012-10-18 00:00:01","width":"100%","provider_name":"Hatena Blog","blog_title":"\u4e07\u5e74\u7d20\u4eba\u304b\u3089Hacker\u3078\u306e\u9053","author_name":"shinriyo","categories":[],"height":"190","version":"1.0","title":"int\u30d3\u30eb\u30c9\u30a4\u30f3\u914d\u5217\u306e\u30b7\u30e3\u30c3\u30d5\u30eb\u3000UnityScript","blog_url":"https://shinriyo.hateblo.jp/","type":"rich","url":"https://shinriyo.hateblo.jp/entry/20121018/p2","image_url":null,"author_url":"https://blog.hatena.ne.jp/shinriyo/","provider_url":"https://hatena.blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshinriyo.hateblo.jp%2Fentry%2F20121018%2Fp2\" title=\"int\u30d3\u30eb\u30c9\u30a4\u30f3\u914d\u5217\u306e\u30b7\u30e3\u30c3\u30d5\u30eb\u3000UnityScript - \u4e07\u5e74\u7d20\u4eba\u304b\u3089Hacker\u3078\u306e\u9053\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>"}