<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Takachan</author_name>
  <author_url>https://blog.hatena.ne.jp/Takachan/</author_url>
  <blog_title>PG日誌</blog_title>
  <blog_url>https://takap-tech.com/</blog_url>
  <categories>
    <anon>.NET Core</anon>
    <anon>.NET</anon>
    <anon>C#</anon>
    <anon>Unity</anon>
    <anon>作ってみた</anon>
    <anon>ネタ</anon>
  </categories>
  <description>Unity の StreamingAssets に置いたファイルを読み取る実装例です。 Android と WebGL は特別な処理が必要だそうで UnityWebRequest を使ってデータを読み取るようです。それ以外のプラットフォーム（iOS, Windows, デバッグ中のエディタ上）では普通にファイルに読み取って大丈夫だそうです。 Android はデータが apk/jar(zip) に圧縮されてるから特別な読み取りをしないといけないのですが何故か UnityWebRequest という名前のクラスで読み取れるのでそれを使用したいと思います。*1。WebRequest といいつつロー…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftakap-tech.com%2Fentry%2F2022%2F12%2F13%2F010905&quot; title=&quot;【Unity】StreamingAssetsからテキストを読み取る - PG日誌&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-12-13 01:09:05</published>
  <title>【Unity】StreamingAssetsからテキストを読み取る</title>
  <type>rich</type>
  <url>https://takap-tech.com/entry/2022/12/13/010905</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
