private IEnumerator LocalizeToSharedPCF() { _cfuid = SerializationUtilities.StringToCFUID(Transmission.GetGlobalString(_sharedPCFKey)); //find shared pcf: while (_sharedPCF == null) { //locate: MLPersistentCoordinateFrames.FindPCFByCFUID(_cfuid, out _sharedPCF); //keep looking: yield return(new WaitForSeconds(_pcfSearchTimeout)); } //we have our shared pcf! Reorient(); Localized = true; OnLocalized?.Invoke(); }