<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hanaaaaaachiru</author_name>
  <author_url>https://blog.hatena.ne.jp/hanaaaaaachiru/</author_url>
  <blog_title>はなちるのマイノート</blog_title>
  <blog_url>https://www.hanachiru-blog.com/</blog_url>
  <categories>
    <anon>Unity</anon>
    <anon>C#</anon>
  </categories>
  <description>はじめに 非同期処理やマルチスレッド処理をするときにTaskを使ったりすると思います。ただUnityは基本全てメインスレッドで動くので、誤ってメインスレッドを止めてしまった場合他の処理が止まってしまう危険もあります。←正しくTaskを使えた場合 メインスレッドが止まった場合→なぜUnityがメインスレッドで動かす仕様になっているのかと疑問に思うかもしれませんが、以下の公式ドキュメントを一読してみてください。 マルチスレッドとは - Unity マニュアル今回はメインスレッドを止めてしまう処理と止めない処理を色々と手当たり次第紹介していきたいと思います。 はじめに メインスレッドを止める処理（基…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.hanachiru-blog.com%2Fentry%2F2020%2F05%2F26%2F120000&quot; title=&quot;【Unity】Taskでメインスレッドを止める・止めない実例集 - はなちるのマイノート&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/152984076/1558573499189815</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-05-26 12:00:00</published>
  <title>【Unity】Taskでメインスレッドを止める・止めない実例集</title>
  <type>rich</type>
  <url>https://www.hanachiru-blog.com/entry/2020/05/26/120000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
