CheckARAvailablility
Description
Check whether the current device supports ARKit or ARCore
Return
Type | Description |
---|---|
Bool | True: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");
}
}