private void LogQRCode(object sender, QRCodeEventArgs <Microsoft.MixedReality.QR.QRCode> e) { if (e != null) { var qrCode = e.Data; Debug.Log($"New QR code found: id = {qrCode?.Id}, text = {GetQRCodeText(qrCode)}"); } }
private void AppendText(object sender, QRCodeEventArgs <Microsoft.MixedReality.QR.QRCode> e) { if (e != null) { var qrCode = e.Data; text.text += $"\nNew QR code found: id = {qrCode?.Id}, text = {GetQRCodeText(qrCode)}"; } }