mobfishgmbh / Cardboard-VR-Unity-SDK

Apache License 2.0
56 stars 11 forks source link

Conditional stops editor from working #59

Closed hawkwood closed 4 years ago

hawkwood commented 4 years ago

This line:

https://github.com/mobfishgmbh/Cardboard-VR-Unity-SDK/blob/2b1afbde9f192e34929414435f805c1d81d4905e/Assets/Cardboard/Scripts/CardboardManager.cs#L140

should be:

        if (par.Item2 > 0 || Application.isEditor)
cai-mobfish commented 4 years ago

Thanks, I just released a new version with this fix.