<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Gigacee</author_name>
  <author_url>https://blog.hatena.ne.jp/Gigacee/</author_url>
  <blog_title>GIGA CREATION Blog</blog_title>
  <blog_url>https://blog.gigacreation.jp/</blog_url>
  <categories>
    <anon>Unity</anon>
  </categories>
  <description>2023.02.20 追記 本記事で紹介しているスクリプトを発展させ、Package Manager から導入することができるサービスロケーターのパッケージを公開しています。 blog.gigacreation.jp はじめに 例えば GameManager のような、どこからでもアクセスしたい・一つだけ存在していてほしいクラスを Unity で実装する場合、よく使われるのは【シングルトン】というデザインパターンです。 シングルトンは非常にシンプルでお手軽に実装でき、小規模なプロジェクトでは大変便利なものではありますが、LevelManager とか SaveLoadManager とか La…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.gigacreation.jp%2Fentry%2F2021%2F01%2F24%2F223859&quot; title=&quot;Unity でサービスロケーターを使う - GIGA CREATION Blog&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>2021-01-24 22:38:59</published>
  <title>Unity でサービスロケーターを使う</title>
  <type>rich</type>
  <url>https://blog.gigacreation.jp/entry/2021/01/24/223859</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
