<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kan_kikuchi</author_name>
  <author_url>https://blog.hatena.ne.jp/kan_kikuchi/</author_url>
  <blog_title>(:3[kanのメモ帳]</blog_title>
  <blog_url>https://kan-kikuchi.hatenablog.com/</blog_url>
  <categories>
    <anon>Unity</anon>
    <anon>C#</anon>
  </categories>
  <description>この記事でのバージョン Unity 2021.1.23f1 はじめに 以前Unityで作ってるゲームで「30%の確率でアイテム取得する」みたいな時に使える確率を使って何かを判定する方法とちょっとした自作の確率判定用クラスを紹介しました。 しかしこの時はUnityのRandomというStaticなクラスを作っていたため「インスタンスを生成して処理ごとに乱数を分ける」事が出来ませんでした。 乱数を分ける事が出来ないと、これまた以前紹介した乱数の再現を行う際に「特定の場所の乱数だけ再現させる」みたいな事が困難になってしまいます。 と言う事で今回はインスタンスを生成して処理ごとに乱数(ランダムな数)を…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkan-kikuchi.hatenablog.com%2Fentry%2FProbabilityCalclator2&quot; title=&quot;インスタンスを生成して処理ごとに乱数(ランダムな数)を分ける【Unity】【C#】 - (:3[kanのメモ帳]&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-ak.f.st-hatena.com/images/fotolife/k/kan_kikuchi/20211203/20211203065207.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-12-13 08:08:45</published>
  <title>インスタンスを生成して処理ごとに乱数(ランダムな数)を分ける【Unity】【C#】</title>
  <type>rich</type>
  <url>https://kan-kikuchi.hatenablog.com/entry/ProbabilityCalclator2</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
