<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>adarapata328</author_name>
  <author_url>https://blog.hatena.ne.jp/adarapata328/</author_url>
  <blog_title>imog</blog_title>
  <blog_url>https://adarapata.hatenablog.com/</blog_url>
  <categories>
    <anon>Unity</anon>
    <anon>Zenject</anon>
  </categories>
  <description>ニッチすぎる小ネタです。 DIライブラリのリプレースなので基本的にはそんなに手間ではないですが、微妙に思想の違いがあるのでちょっとだけ気をつけようねというお話。 基本的な移行の流れ SceneContext → LifetimeScopeに乗り換える Installerのコードを見ながらLifetimeScopeに同様のオブジェクトを登録していく Zenject.Inject → VContainer.Inject に乗り換える シーン上のオブジェクトは LifetimeScope のAutoInjectGameObjects に登録していく DIコンテナとしての役割は同じなので、スクリプトが…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fadarapata.hatenablog.com%2Fentry%2F2021%2F11%2F12%2F010317&quot; title=&quot;ZenjectからVContainerに移行する際に気をつけること - imog&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-11-12 01:03:17</published>
  <title>ZenjectからVContainerに移行する際に気をつけること</title>
  <type>rich</type>
  <url>https://adarapata.hatenablog.com/entry/2021/11/12/010317</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
