Add AudioLink scripting define
techanon opened this issue · 1 comments
To allow being able to conditionally include audiolink features without compilation errors for distributed udon# assets.
My usecase:
I have a single purpose plugin for ProTV that aides in integration of audiolink and protv when more than one video player is in use (such as the ProTV Modern prefab). Due to the requirement of audiolink to use this plugin, I have to have it be a separate package and remind people to not import it until they've imported the separate audiolink package as well. It would be nice to be able to wrap audiolink integrations in a scripting define to avoid having compiler errors happen when people import said package without knowing the full extent of requirements.
My use case is very niche, but I do believe that other, more useful tooling could be made with the help of a scripting define as well.
For posterity or note to self, here's how U# added their scripting define.
vrchat-community/UdonSharp@d2c9006