<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kan_kikuchi</author_name>
  <author_url>https://blog.hatena.ne.jp/kan_kikuchi/</author_url>
  <blog_title>(:3[kanのメモ帳]</blog_title>
  <blog_url>https://kan-kikuchi.hatenablog.com/</blog_url>
  <categories>
    <anon>Unity</anon>
  </categories>
  <description>この記事でのバージョン Unity 5.3.4f1 Personal はじめに Unityでゲームを作っていると、全てのシーンに存在し、かつ、一つしかいないマネージャー的な存在が必要になりますよね。例えばBGMやSEなどの管理を行うAudioManagerなんてものとか。 一つしか存在してはいけないマネージャー的存在の実装については、以前紹介しました。 問題は&quot;全てのシーンに存在&quot;の方ですが、素直に全シーンに配置してしまうのは面倒だし、シーンが変わる度にマネージャーが新しくなるので、シーンを跨いでの処理ができなくなります。 かといってDontDestroyOnLoadを使ってマネージャーが消え…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkan-kikuchi.hatenablog.com%2Fentry%2FManagerSceneAutoLoader&quot; title=&quot;全てのシーンに存在し、かつ、一つしか存在してはいけないマネージャー的存在の実装方法【Unity】 - (:3[kanのメモ帳]&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/k/kan_kikuchi/20160805/20160805133436.gif</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2016-09-22 08:02:53</published>
  <title>全てのシーンに存在し、かつ、一つしか存在してはいけないマネージャー的存在の実装方法【Unity】</title>
  <type>rich</type>
  <url>https://kan-kikuchi.hatenablog.com/entry/ManagerSceneAutoLoader</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
