<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>QBMK_IQU</author_name>
  <author_url>https://blog.hatena.ne.jp/QBMK_IQU/</author_url>
  <blog_title>KYな雑記帳</blog_title>
  <blog_url>https://qbmk-iqu.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>この前、unityを使っていた時に、よく知らないままシングルトンを使っていたので、復習がてら調べてみた。 シングルトンとは？ シングルトンとはデザインパターンの一つで、「インスタンスが一つしか生成されないこと」が保証される。 シングルトンと使って生成したオブジェクトは一つしか無いことが保証されているので、複数のオブジェクトがデータを重複して持つようなことを避ける事ができる。 また、起動してから終了まで使える擬似的なグローバル変数的な使い方も考えられる。まぁ、unityだとどこからでも呼び出すことができるものを実装するときに使えばいいんじゃないでしょうか。 例えば、シーンをまたいで操作したい時や…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fqbmk-iqu.hatenablog.com%2Fentry%2F2015%2F02%2F08%2F181621&quot; title=&quot;Unityでのシングルトン - KYな雑記帳&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>2015-02-08 18:16:21</published>
  <title>Unityでのシングルトン</title>
  <type>rich</type>
  <url>https://qbmk-iqu.hatenablog.com/entry/2015/02/08/181621</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
