今回は Unity の新しいDIライブラリ「VContainer」についてまとめてみました。 設計思想として、MVP (Model-View-Presenter) パターンというものをご存じでしょうか? 完結に一言で述べると、「Viewと Modelが直接やり取りせず、すべて Presenter 経由でのやり取りを行う ...
今回はVContainerとMessagePipeを駆使して、アイテム購入時のダイアログを表示するようにしてみました。 RAYSERの進捗です、カスタマイズのShopでアイテムを選択したら、購入ダイアログを表示する処理をVContainerとMessagePipeで作っていました。MonoBehaviourを利用箇所 ...
Find constructors and [𝗜𝗻𝗷𝗲𝗰𝘁] fields/properties. Create delegates dynamically via 𝗘𝘅𝗽𝗿𝗲𝘀𝘀𝗶𝗼𝗻 ...
Hello! Upgraded to latest official (non-beta) unity release and have following error on startup: ArgumentException: UnityEngine.PlayerLoop.EarlyUpdate ...
Dependency Injection (DI) is a software design pattern that allows for the separation of concerns by decoupling the creation and management of objects from their use. This is particularly useful in ...
If you're still using Zenject in your Unity projects, it's time to take a serious look at VContainer. I've used both extensively, and VContainer just makes more sense. Here’s why: 👾Performance – ...