Packaging for both Oculus Store *and* Vive

How did you undefine the chaperone in C++? I added a “WITH_STEAM” #define to not compile everything Steam related, but the #if can’t be used around UPROPERTY. So I can’t do this:

#if WITH STEAM
	// Steam VR Chaperone component
	UPROPERTY(VisibleDefaultsOnly)
	class USteamVRChaperoneComponent* SteamVRChaperoneComponent;
#endif

EDIT: I ended up spawning the Steam Chaperone in BeginPlay instead of having it as an UPROPERTY.