/// <inheritdoc/> public async Task <bool> Search() { if (!IsReady) { return(false); } Dictionary <CloudAnchorId, LocalPegAndProperties> found = await publisher.Find(searchRadius); var wltMgr = WorldLockingManager.GetInstance(); bool foundAny = false; foreach (var keyval in found) { string spacePinId = keyval.Value.properties[SpacePinIdKey]; string cloudAnchorId = keyval.Key; var pegAndProps = keyval.Value; int idx = FindSpacePinById(spacePinId); if (idx >= 0) { CreateBinding(spacePinId, cloudAnchorId); foundAny = true; SpacePinASA spacePin = spacePins[idx]; Pose lockedPose = wltMgr.LockedFromFrozen.Multiply(pegAndProps.localPeg.GlobalPose); SimpleConsole.AddLine(ConsoleLow, $"Srch: {lockedPose.ToString("F3")}"); spacePin.SetLockedPose(lockedPose); spacePin.SetLocalPeg(pegAndProps.localPeg); } else { SimpleConsole.AddLine(ConsoleHigh, $"Found anchor for unknown SpacePin={spacePinId}."); } } return(foundAny); }