Repository navigation
Container missing Instantiate Prefab funcitonality #106
Unanswered
wcampospro
asked this question in
Q&A
Replies: 2 comments
|
@gustavopsantos @gustavosantos-kazoo |
0 replies
|
Have you figured out how to do this? There aren't any examples I could find in the Examples folder, and the closest in the document is that you have to do Manual Injection with AttributeInjector::Inject. So currently I have to do this in Awake(): AttributeInjector.Inject(this, gameObject.scene.GetSceneContainer()); But I'm not sure if this is intended behavior... |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hello Community, I was checking and trying out this package in Unity and I like it a lost, and i like what it stands for as well.
After playing around for a bit I could not properly find a way to instantiate a clone of a prefab in the scence and have Reflex inject (automatically) the dependencies.
I can actually inject throgh a method, but i have to manually call the method and pass on the dependency myself.
Example:
Reflex does not do this, or at least i could not find a way for Reflex to do this.
Am i missing something?
Any help is greately appreciated 🙇
All reactions