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
I'm followed the instructions inside of https://vcontainer.hadashikick.jp/optimization/source-generator inside of my IL2CPP-enabled project. My project's .asmdef has VContainer as a reference, ect. But I'm not sure where to look for these __GeneratedInjector classes that Code Generator automatically generates (to confirm that it's happening)?
When I Build, I don't see anything that confirms or denies that Code Generator is indeed kicking in.
I've thought of one way to test it: to make a change that should supposedly break Code Generator. So I'm made some [Inject] methods private, as supposedly that shouldn't work with Code Generator. But it still built and played fine, so that seems to imply Code Generator isn't kicking in. Is there a better way to do this?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm followed the instructions inside of https://vcontainer.hadashikick.jp/optimization/source-generator inside of my IL2CPP-enabled project. My project's .asmdef has VContainer as a reference, ect. But I'm not sure where to look for these
__GeneratedInjector
classes that Code Generator automatically generates (to confirm that it's happening)?When I Build, I don't see anything that confirms or denies that Code Generator is indeed kicking in.
I've thought of one way to test it: to make a change that should supposedly break Code Generator. So I'm made some [Inject] methods private, as supposedly that shouldn't work with Code Generator. But it still built and played fine, so that seems to imply Code Generator isn't kicking in. Is there a better way to do this?
Beta Was this translation helpful? Give feedback.
All reactions