Skip to content
This repository was archived by the owner on Aug 27, 2024. It is now read-only.
This repository was archived by the owner on Aug 27, 2024. It is now read-only.

MarkerTracking Permission #2

@TuskAW

Description

@TuskAW

File: MagicLeapMarkerTracker.cs

The MLPermission.MarkerTracking permission isn't a dangerous one, so it will be better and faster to replace the call to RequestPermissions() in the Start method with the following:

        if( !MLPermissions.CheckPermission( MLPermission.MarkerTracking ).IsOk )
        {
            RequestPermissions();
        }
        else
        {
            _permissionGranted = true;
        }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions