Skip to content

Instantly share code, notes, and snippets.

View kelvinharron's full-sized avatar

Kelvin Harron kelvinharron

View GitHub Profile
using UnityEngine;
using Oculus.Platform;
using Oculus.Platform.Models;
using System.Collections;
public class OculusEntitlementCheck : MonoBehaviour {
void Awake () {
Oculus.Platform.Core.AsyncInitialize();
Oculus.Platform.Entitlements.IsUserEntitledToApplication().OnComplete(callbackMethod);
}