-
### 描述Bug
我在Unity项目中引入 Zenject 后,在 Unity 中运行正常,导出为微信小游戏项目后,报错:
Blob is not defined.
经过我的排查,发现是 [Inject] 的 field 并没有被注入进来。
希望这条 issue 可以帮到别人,建议暂时别在项目中引入 [zenject](https://github.com/modesttre…
-
Hi,
Zenject is very usefful but, is very robust. Can a smaller version be created (remove from librarie)? We need only DI, without Signal, Poller, Tickables and many other uselessness, which occupies…
-
Once creating game object for component via IInstantiator, like:
`_instantiator.InstantiateComponent(_executor,
new object[]
{
task = task,
…
-
x.Bind\()
.FromInstance(1)
.WhenInjectedInto\();
so when we do
x.Bind()
x.FromMethod(c => new SomeService(c.Resolve\())
we get the proper value.
-
The following code works in Zenject, but not in VContainer:
```C#
[Inject]
private void Construct(IRepository repository)
_repository = repository;
private void OnEnable() =>
_reposito…
-
We use "addressable" to load and instantiate resources , howerver, it only apply async method to instantiate gameobject. so we can't use FromComponentInNewPrefab method to create a instance。
-
It would be awesome if we can have capability of binding each component with different Binding Type.
-
Just added
`Assets\Plugins\Zenject\OptionalExtras` and `Assets\Plugins\Zenject\OptionalExtras\AutoMocking` and `Assets\Plugins\Zenject\OptionalExtras\AutoMocking\Editor\Moq-Net46` and then ran all t…
-
**Describe the bug**
I imported zenject via UPM from the link from GIT https://github.com/starikcetin/Extenject.git#9.1.0. I'm trying to write tests to my unity package, but I can't use the scripts i…
-
## What
* `ZenjectException: Assert hit! Scope must be set for the previous binding! Please either specify AsTransient, AsCached, or AsSingle.` occured when omit scope.
* Although `AsTransient` i…
monry updated
6 years ago