{"categories":["Unity","Unity - \u30c8\u30e9\u30d6\u30eb\u30b7\u30e5\u30fc\u30c6\u30a3\u30f3\u30b0"],"width":"100%","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbaba-s.hatenablog.com%2Fentry%2F2015%2F07%2F06%2F000000\" title=\"\u3010Unity\u3011RandomRangeInt can only be called from the main thread. - \u30b3\u30ac\u30cd\u30d6\u30ed\u30b0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_name":"baba_s","blog_title":"\u30b3\u30ac\u30cd\u30d6\u30ed\u30b0","url":"https://baba-s.hatenablog.com/entry/2015/07/06/000000","version":"1.0","title":"\u3010Unity\u3011RandomRangeInt can only be called from the main thread.","blog_url":"https://baba-s.hatenablog.com/","provider_url":"https://hatena.blog","provider_name":"Hatena Blog","description":"using UnityEngine; public class Player : MonoBehaviour { private int mValue = Random.Range( 0, 10 ); } \u3053\u306e\u3088\u3046\u306b\u5909\u6570\u521d\u671f\u5316\u5b50\u3067Random.Range\u95a2\u6570\u3092\u4f7f\u7528\u3059\u308b\u3068 \u4e0b\u8a18\u306e\u3088\u3046\u306a\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3059 RandomRangeInt can only be called from the main thread. Constructors and field initializers will be executed from the loading thread when loading a \u2026","type":"rich","author_url":"https://blog.hatena.ne.jp/baba_s/","image_url":"https://cdn.user.blog.st-hatena.com/default_entry_og_image/94867065/1535279515352365","height":"190","published":"2015-07-06 00:00:00"}