コード例 #1
0
    protected override void Awake()
    {
        // Work around : Only the game module can access to java classes in onAirVR client plugin.
        if (Application.isEditor == false && Application.platform == RuntimePlatform.Android)
        {
            onairvr_InitJNI();
        }

        base.Awake();
        _profile = new AirVRProfile();
    }
コード例 #2
0
    protected override void Awake()
    {
        // Work around : Only the game module can access to java classes in onAirVR client plugin.
        if (Application.isEditor == false && Application.platform == RuntimePlatform.Android)
        {
            onairvr_InitJNI();
        }

        _profile = new AirVRProfile(this);
        base.Awake();

        _inputDevices = new List <AirVRInputDevice>();
        _inputDevices.Add(new AirVRTrackedControllerInputDevice(_armModel));
    }