Skip to main content

CheckARAvailablility

Description​

Check whether the current device supports ARKit or ARCore

Return​

TypeDescription
BoolTrue:Supports,False:otherwise

Method​

public bool CheckARAvailability()

Example​

internal static API ARMODAPI = new API(nameof(APITest));
private void OnLoad()
{
if(ARMODAPI.CheckARAvailability()){
Debug.Log("AR Availability");
}
}