Пример #1
0
    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");
        }
    }
Пример #2
0
 public void RemoveLocalAnchor(GameObject theObject)
 {
     OnRemoveLocalAnchor?.Invoke();
     Debug.Log("Local anchor deleted succesfully.");
     theObject.RemoveARAnchor();
 }