Beispiel #1
0
 public void DeleteAzureAnchor(string AnchorIDtoDelete)
 {
     //Delete the anchor with the ID specified off the server and locally
     Task.Run(async() =>
     {
         await CloudManager.DeleteAnchorAsync(currentCloudAnchor);
         currentCloudAnchor = null;
         Debug.Log("Cloud anchor is deleted successfully.");
         OnDeleteASAAnchor?.Invoke();
     });
 }
 public void DeleteAzureAnchor(string AnchorIDtoDelete)
 {
     DebugWindowMessaging.Clear();
     //Delete the anchor with the ID specified off the server and locally
     Task.Run(async() =>
     {
         await CloudManager.DeleteAnchorAsync(currentCloudAnchor);
         currentCloudAnchor = null;
     });
     Debug.Log("Azure anchor deleted");
 }