Se você transmitir dados de local exato dos seus usuários ao Google, as
Políticas do Google para Publishers
vão fornecer requisitos de consentimento e um aviso.
Se essa política se aplica a você, o exemplo a seguir define o título, a mensagem
e o texto do botão para informar os usuários sobre o compartilhamento de dados pessoais:
[SerializeField, Tooltip("Canvas panel for the location consent overlay.")]privateGameObject_consentOverlay;[SerializeField, Tooltip("Title text for the location consent overlay.")]privateText_titleText;[SerializeField, Tooltip("Message text for the location consent overlay.")]privateText_messageText;[SerializeField, Tooltip("OK button for the location consent overlay.")]privateButton_okButton;[SerializeField, Tooltip("OK button text for the location consent overlay.")]privateText_okButtonText;/// <summary>/// Presents the location consent overlay to the user./// </summary>publicvoidPresentConsentOverlay(){if(_consentOverlay==null){return;}_titleText.text="TITLE";_messageText.text="MESSAGE_TEXT";_okButtonText.text="BUTTON_TEXT";_okButton.onClick.RemoveAllListeners();_okButton.onClick.AddListener(()=>
{_consentOverlay.SetActive(false);// TODO: Add any consent gathering logic.Debug.Log("CONSENT_RECEIVED_LOG_MESSAGE");});_consentOverlay.SetActive(true);}
Substitua:
TITLE: o título da caixa de diálogo de consentimento, por exemplo,
Location data.
MESSAGE_TEXT: o texto da caixa de diálogo de consentimento, por
exemplo:
We may use your location and share with third parties for the
purposes of personalized advertising, analytics, and attributions. To learn
more, visit our privacy policy at example.com.
BUTTON_TEXT: o texto do botão da caixa de diálogo de consentimento,
por exemplo, OK.
CONSENT_RECEIVED_LOG_MESSAGE: a mensagem de registro a ser
registrada quando o usuário der o consentimento, por exemplo, Consent received.
[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Não contém as informações de que eu preciso","missingTheInformationINeed","thumb-down"],["Muito complicado / etapas demais","tooComplicatedTooManySteps","thumb-down"],["Desatualizado","outOfDate","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Problema com as amostras / o código","samplesCodeIssue","thumb-down"],["Outro","otherDown","thumb-down"]],["Última atualização 2026-10-18 UTC."],[],[]]