You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I instantiate prefab with IObjectResolver.Instantiate(), the prefab show up in my VCS without any changes.
Yes, when I stage them, they are gone but its pretty annoying.
The reason is IObjectResolver.Instantiate() directly disable the prefab itself then Instantiate it. (maybe for calling Inject before Awake?)
Zenject Instantiate a prefab as a child of inactive GameObject rather than disable prefab itself. Link
The text was updated successfully, but these errors were encountered:
If I instantiate prefab with
IObjectResolver.Instantiate()
, the prefab show up in my VCS without any changes.Yes, when I stage them, they are gone but its pretty annoying.
The reason is IObjectResolver.Instantiate() directly disable the prefab itself then Instantiate it. (maybe for calling
Inject
beforeAwake
?)Zenject Instantiate a prefab as a child of inactive GameObject rather than disable prefab itself. Link
The text was updated successfully, but these errors were encountered: