Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
Anonymous's avatar
Anonymous
9 years ago

Where to find the Oculus Platform SDK Plugin for Unity

There are a number of platform features available for developers now including Achievements, Leaderboards, etc.  We provide a Unity plugin to make access that functionality a bit easier.  You can find the plugin in the OVR 1.3 SDK in:

PlatformSDK\Unity



There’s also a Unity sample that you can check out in:



PlatformSDK\Samples\PlatformSample.

-j

6 Replies

Replies have been turned off for this discussion
  • Hmmm, nothing in the Unity SDKs to hook into the leaderboards or achievements. What am I missing?
  • tcs6535's avatar
    tcs6535
    Honored Guest
    Once you import the Platform package you can start using it in your scripts. In your assets folder there should be a folder called "OculusPlatform", and there should be a new menu item called "Oculus Platform" in between "Component" and "Window". There lies "edit settings" where you put your appID and whatnot.

    In C# scripts, Its under a namespace called Oculus.Platform
    Oculus.Platform.Leaderboards.WriteEntry() for example.

    I am also having trouble implementing them though.

    Is there ANY documentation on how to use the Oculus Platform with Unity? The only documentation is for C and uses different methods.