public void RemoveLocalAnchor(GameObject theObject) { Debug.Log("\nAnchorModuleScript.RemoveLocalAnchor()"); // Notify AnchorFeedbackScript OnRemoveLocalAnchor?.Invoke(); theObject.DeleteNativeAnchor(); if (theObject.FindNativeAnchor() == null) { Debug.Log("Local anchor deleted succesfully"); } else { Debug.Log("Attempt to delete local anchor failed"); } }
public void RemoveLocalAnchor(GameObject theObject) { OnRemoveLocalAnchor?.Invoke(); Debug.Log("Local anchor deleted succesfully."); theObject.RemoveARAnchor(); }