I'm working on a plug-in that leverages Unity's built-in VR support, but I'd like the plug-in to take advantage of Oculus extended capabilities when the Utilities for Unity are present. It'd be nice to have a #define that I can use to conditionally compile the enhanced functionality.
That's what I'm currently doing, but it requires an extra step on behalf of the developer. Workable, but a global define (similar to the built-in Unity defines) would be ideal.
It's easy to add them: https://docs.unity3d.com/Manual/PlatformDependentCompilation.html
Unless I've misunderstood the documentation link I provided, the section on "Global custom #defines" seems to imply that just adding a file will do this. Is this not correct?