摘要:
VContainer 默认使用反射实现元编程。 阅读全文
posted @ 2025-02-18 15:18
凌雪寒
阅读(277)
评论(0)
推荐(0)
摘要:
VContainer 在 Unity 编辑器中提供了调试工具。 阅读全文
posted @ 2025-02-18 14:56
凌雪寒
阅读(103)
评论(0)
推荐(0)
摘要:
可设置全局根作用域作为所有 LifetimeScope 的父级。 阅读全文
posted @ 2025-02-18 01:36
凌雪寒
阅读(140)
评论(0)
推荐(0)
摘要:
可以通过 C# 代码直接创建子作用域。 阅读全文
posted @ 2025-02-18 01:32
凌雪寒
阅读(123)
评论(0)
推荐(0)
摘要:
通过场景或预制体生成子作用域 阅读全文
posted @ 2025-02-18 01:28
凌雪寒
阅读(209)
评论(0)
推荐(0)
摘要:
Singleton(单例): 全容器共享唯一实例。
Transient(瞬时): 每次解析时创建新实例。
Scoped(作用域内): 每个 LifetimeScope 保持独立实例。 阅读全文
posted @ 2025-02-18 01:18
凌雪寒
阅读(239)
评论(0)
推荐(0)
摘要:
VContainer 支持 Unity ECS(实体组件系统)与常规 C# 世界的集成。 阅读全文
posted @ 2025-02-18 00:53
凌雪寒
阅读(169)
评论(0)
推荐(0)
摘要:
MessagePipe 是专为 DI 设计的消息库,支持 Unity 和 .NET Core(VContainer 目前只支持 Unity)。 阅读全文
posted @ 2025-02-18 00:38
凌雪寒
阅读(145)
评论(0)
推荐(0)
摘要:
UniRx 是一个为 Unity 优化的 Rx(响应式扩展)库。 阅读全文
posted @ 2025-02-18 00:36
凌雪寒
阅读(150)
评论(0)
推荐(0)
摘要:
UniTask 是为 Unity 优化的 async/await 解决方案。提供与 .NET 标准的基于任务的异步模式相似的 API,但针对 Unity 的 PlayerLoop 进行了优化。还增加了对 Unity 内置异步操作(如 UnityWebRequest)的 async/await 支持。 阅读全文
posted @ 2025-02-18 00:19
凌雪寒
阅读(449)
评论(0)
推荐(0)

浙公网安备 33010602011771号