Kullanıcılarınızın tam konum verilerini Google'a iletirseniz Google Yayıncı Politikaları size rıza koşulları ve bir bildirim sunar.
Bu politika sizin için geçerliyse aşağıdaki örnekte kullanıcılarınızı veri paylaşımı hakkında bilgilendirmek için başlık, mesaj ve düğme metni ayarlanmaktadır:
[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);}
Aşağıdakini değiştirin:
TITLE: İzin iletişim kutusunun başlığı (ör. Location data).
MESSAGE_TEXT: Rıza mesajının metni. Örneğin:
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: İzin iletişim kutusu düğmesinin metni (ör. OK).
CONSENT_RECEIVED_LOG_MESSAGE: Kullanıcı izin verdiğinde kaydedilecek günlük mesajı (ör. Consent received).
[[["Anlaması kolay","easyToUnderstand","thumb-up"],["Sorunumu çözdü","solvedMyProblem","thumb-up"],["Diğer","otherUp","thumb-up"]],[["İhtiyacım olan bilgiler yok","missingTheInformationINeed","thumb-down"],["Çok karmaşık / çok fazla adım var","tooComplicatedTooManySteps","thumb-down"],["Güncel değil","outOfDate","thumb-down"],["Çeviri sorunu","translationIssue","thumb-down"],["Örnek veya kod sorunu","samplesCodeIssue","thumb-down"],["Diğer","otherDown","thumb-down"]],["Son güncelleme tarihi: 2026-11-12 UTC."],[],[]]