The Oculus Platform SDK sample apps are provided examples of how to initialize the SDK, perform the entitlement check, and implement some of the platform features.
These sample apps can be used either as a reference for integrating the Platform SDK in your app, or as a foundation that you can use to build your VR experience.
The features implementations are similar with native and Unity apps, so review all of the apps below, even if they are using a different development platform. The Oculus Platform SDK sample apps are provided examples of how to initialize the SDK, perform the entitlement check, and implement some of the platform features.
To run the samples you will need the following:
If you’re creating both a Rift and mobile application, you can move the mobile application into the Rift application’s App Grouping. Then, copy the OSIG files for the mobile devices you are testing to
Assets\Plugins\Android\Assets. This will allow cross-platform interactions between Rift and mobile device users. The Unity samples: VRHoops, VRVoiceChat, and VRBoardGame support cross-platform interaction.
You can find the Unreal sample in the Samples folder of the Platform SDK download. The Unreal OculusPlatformSample demonstrates how to use a number of platform features in Unreal, using both blueprints and code. OculusPlatformSample includes Achievements,Leaderboards, OSS Sessions - Rooms and Matchmaking, and Voice Chat (VoIP).