Assets/Scripts/ImportExportAnchorManager.cs
/// <summary>
/// Called when tracking changes for a 'cached' anchor.
/// </summary>
/// <param name="self"></param>
/// <param name="located"></param>
Called when tracking changes for a 'cached' anchor.
Called when tracking changes for a ' cached ' anchor .
private void ImportExportAnchorManager_OnTrackingChanged_Attaching(WorldAnchor self, bool located)
    {
        Debug.Log("anchor " + located);
        if (located)
        {
            CurrentState = ImportExportState.Ready;
        }
        else
        {
            Debug.Log("Failed to find local anchor from cache.");
            MakeAnchorDataRequest();
        }
        self.OnTrackingChanged -= ImportExportAnchorManager_OnTrackingChanged_Attaching;
    }
private void ImportExportAnchorManager_OnTrackingChanged_Attaching ( WorldAnchor self , bool located ) { Debug . Log ( " " + located ) ; if ( located ) { CurrentState = ImportExportState . Ready ; } else { Debug . Log ( " " ) ; MakeAnchorDataRequest ( ) ; } self . OnTrackingChanged -= ImportExportAnchorManager_OnTrackingChanged_Attaching ; }
Called when tracking changes for a 'cached' anchor.
Called when tracking changes for a ' cached ' anchor .
self
WorldAnchor
None
located
bool
None