XRTK / com.xrtk.core

The Official Mixed Reality Framework for Unity
https://xrtk.io
MIT License
307 stars 34 forks source link

Add scripting define symbols for XR pipeline in use #895

Closed FejZa closed 2 years ago

FejZa commented 2 years ago

XRTK - Mixed Reality Toolkit Pull Request

Overview

Adds a utility class that will add a scripting define symbol to the project depending on which XR pipeline is in use. I need this to make upcoming changes backwards compatible to the legacy VR pipeline.

Legacy VR Pipeline -> XRTK_USE_LEGACYVR symbol added to project XR SDK -> XRTK_USE_XRSDK symbol added to project