ViveSoftware / ViveInputUtility-Unity

A toolkit that helps developing/prototyping VR apps.
http://u3d.as/uF7
Other
352 stars 82 forks source link

Separate VIU settings per platform #269

Open BioeJD opened 8 months ago

BioeJD commented 8 months ago

Is there a way to setup different VIU settings per platform?

Example:

For Mac, I can have everything unchecked here:

image

BioeJD commented 8 months ago

And an issue related to this: I'm writing a pre-process script to change these settings on Mac (until I hear back on whether there's a better method).

I can successfully change these settings and I've also excluded the SteamVR assemblies from my builds, but I still get compile errors because VIU always adds the SteamVR scripting symbols, even when I have OpenVR deselected and SteamVR assemblies excluded.

BioeJD commented 8 months ago

I've added an additional method to remove the scripting define symbols in the pre-build script.