Reply To: Shared Preferred Types

NodeCanvas Forums General Discussion Shared Preferred Types Reply To: Shared Preferred Types

#14594
timv
Participant

Hi Gavalakis,

If the file must be in a Resources folder, that would mean it will be included in your builds. That sounds a bit strange to me. If you have some way of preventing that, than this sounds awesome. Otherwise I think I’d prefer a fixed path over the Resources solution.

About the callback, maybe this could work: https://docs.unity3d.com/ScriptReference/Build.IPreprocessBuildWithReport.OnPreprocessBuild.html
I don’t know if you could add code/.cs files in that step. I haven’t tried.

Your suggestion of scanning the graph automatically would already help a lot! I was wondering if it would also be possible somehow to find all graphs in the project.

Thanks,
Tim