public void GetAzureAnchor() { Debug.Log("\nSharingModuleScript.GetSharedAnchor()"); Debug.Log("GenericNetworkManager.AzureAnchorID: " + GenericNetworkManager.instance.AzureAnchorID); anchorModuleScript.FindAzureAnchor(GenericNetworkManager.instance.AzureAnchorID); }
/// <summary> /// Search the anchor with the ID saved on the cloud. It initialize a azure session as well. /// </summary> public async void findAnchor() { //AzureModule.GetAzureAnchorIdFromNetwork(); AzureModule.GetAzureAnchorIdFromDisk(); await AzureModule.StartAzureSession(); if (AzureModule.currentAzureAnchorID != null || AzureModule.currentAzureAnchorID != "") { AzureModule.FindAzureAnchor(); } else { Debug.LogError("ERROR no anchor ID found"); } }