SimpleGraphQL-For-Unity
SimpleGraphQL-For-Unity copied to clipboard
Change from using GUID to copying link.xml directly into project?
From #15, which was merged, but my last post still stands. It could be a solution that doesn't require intervention if the GUID changes within the package.
I see, hmm. Using the GUID feels quite fragile, I must admit. I wonder if there's a better way just using a relative path directly to the link.xml file and then providing the full path from there? We could just stick it inside our project, copy it to their project in Plugins/SimpleGraphQL before build using a IPreprocessBuildWithReport.OnPreprocessBuild? (We could also do it on install when assets are being imported.)
For what it's worth I think we could also just create a file in /tmp/ (or its equivalent on windows)
So I guess one solution could be to just generate it from a constant c# string.