/// <summary> /// Kicks off getting the datablob required to import the shared anchor. /// </summary> private void MakeAnchorDataRequest() { if (roomManager.DownloadAnchor(currentRoom, currentRoom.GetAnchorName(0))) { currentState = ImportExportState.DataRequested; } else { Debug.Log("Couldn't make the download request."); currentState = ImportExportState.Failed; } }
/// <summary> /// Kicks off getting the datablob required to import the shared anchor. /// When finished downloading, the RoomManager will raise RoomManagerListener_AnchorsDownloaded. /// </summary> private void MakeAnchorDataRequest() { if (roomManager.DownloadAnchor(currentRoom, currentRoom.GetAnchorName(0))) { currentState = ImportExportState.DataRequested; } else { Debug.LogError("Anchor Manager: Couldn't make the download request."); if (AnchorDebugText != null) { AnchorDebugText.text += string.Format("\nCouldn't make the download request."); } currentState = ImportExportState.Failed; } }