This is the Node.js server I wrote to get Patreon and Ko-fi donation notifications streamed into my Monzo bank accounts feed. If you want to run your own instance, this script is designed to be run on Google Firebase Functions so you don't even need to manage a proper server! Deploy this function to firebase and then supply the functions URLs to Patreon/Kofi's webhook APIs, pretty simple!
|// put me in an Editor folder|
|public static class LayoutUtils|
|// unity stores layouts in a path referenced in WindowLayout.LayoutsPreferencesPath.|
|// Unfortunately, thats internal - well just creat the path in the same way they do!|
|using PackageInfo = UnityEditor.PackageManager.PackageInfo;|
|public class PackageManagerExtentionExample : IPackageManagerExtension|
UPM: How to make a custom package So, Unity has this shiny new package manager, and you have code you want to share between projects - wouldn't it be great if we could bundle up our shared code and plug it into all the projects that need it? Let's figure out how to make our own Package!
- Modify the project manifest
- Make a package manifest
- Package the manifest up with some test code
- Try it out in Unity!