<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tsubaki_t1</author_name>
  <author_url>https://blog.hatena.ne.jp/tsubaki_t1/</author_url>
  <blog_title>テラシュールブログ</blog_title>
  <blog_url>https://tsubakit1.hateblo.jp/</blog_url>
  <categories>
    <anon>C#</anon>
    <anon>Unity</anon>
    <anon>Unity2018.1</anon>
    <anon>最適化・デバッグ</anon>
  </categories>
  <description>今回はunityでunsafeなコードを使う方法についてです。 以前はUnityは公式的にはUnsafeはサポートしていませんでしたが（unsafeを使う手順は存在して、IL2CPPもunsafe向けコードを出力していた）、Unity 2018.1辺り？からオプションとしてunsafeに対応したみたいです。 Unsafeなコード Unsafeなコードを利用する 関連 Unsafeなコード まず検証用に適当なunsafeを使用したコードを用意してみました。構造体の配列を持っているコードで、各要素に対して直接内容の書き換えを行っています。元々のコードはこちら。 gist.github.com 実行…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftsubakit1.hateblo.jp%2Fentry%2F2018%2F05%2F16%2F210000&quot; title=&quot;【Unity】Unity 2018.1でunsafeなコードを使う - テラシュールブログ&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/t/tsubaki_t1/20180516/20180516064315.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-05-16 21:00:00</published>
  <title>【Unity】Unity 2018.1でunsafeなコードを使う</title>
  <type>rich</type>
  <url>https://tsubakit1.hateblo.jp/entry/2018/05/16/210000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
