MagicLeapSDKUtil
NameSpace: MagicLeap
Public Fields
MinimumApiLevel
public static uint MinimumApiLevel { get; set; }
SdkAvailable
If the MLSDK path is set in the editor preferences and points to a valid sdk.
public static bool SdkAvailable { get; set; }
SdkPath
MLSDK path for the android target.
public static string SdkPath { get; set; }
Public Methods
void DeleteSDKPathFromEditorPrefs
public static void DeleteSDKPathFromEditorPrefs(
BuildTarget target
)
Parameters
Type | Name | Description |
---|---|---|
BuildTarget | target |
Public Attributes
SdkVersion
MLSDK version
public static Version SdkVersion => new Version(JsonUtility.FromJson<SDKManifest>(File.ReadAllText(Path.Combine(SdkPath, kManifestPath))).version);