VContainer | Unity 编辑器插件与实用工具

VContainer | Unity 编辑器插件与实用工具-盘古CG网
VContainer | Unity 编辑器插件与实用工具
此内容为付费资源,请付费后查看
10积分
付费资源
VContainer

Unity 编辑器插件与实用工具。

The extra fast DI (Dependency Injection) library running on Unity Game Engine. "V" means making Unity’s initial "U" more thinner and solid … ! Fast Resolve: Basically 5-10x faster than Zenject. Minimum GC Allocation: In Resolve, we have zero allocation without spawned instances.。

使用说明:First, create a scope. References are automatically resolved for types registered here.;csharp public class GameLifetimeScope : LifetimeScope { public override void Configure(IContainerBuilder builder) {;Constructor Injection / Method Injection / Property & Field Injection;Dispatch own PlayerLoopSystem。

© 版权声明
THE END
喜欢就支持一下吧
点赞14 分享