اگر دادههای مکان دقیق کاربران خود را به Google ارسال میکنید،
خطمشیهای ناشر Google
الزامات کسب رضایت و اعلانی را به شما ارائه میدهد.
اگر این خطمشی برای شما اعمال میشود، مثال زیر عنوان، پیام،
و نوشتار دکمه را برای اطلاعرسانی به کاربران درباره همرسانی داده تنظیم میکند:
[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);}
موارد زیر را جایگزین کنید:
TITLE: عنوان کادر گفتگوی رضایت، برای مثال،
Location data.
MESSAGE_TEXT: نوشتار کادر گفتگوی رضایت، برای
مثال:
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: نوشتار دکمه کادر گفتگوی رضایت،
برای مثال، OK.
CONSENT_RECEIVED_LOG_MESSAGE: پیام گزارش برای
ثبت کردن وقتی کاربر رضایت میدهد، برای مثال، Consent received.
تاریخ آخرین بهروزرسانی 2026-10-18 بهوقت ساعت هماهنگ جهانی.
[[["درک آسان","easyToUnderstand","thumb-up"],["مشکلم را برطرف کرد","solvedMyProblem","thumb-up"],["غیره","otherUp","thumb-up"]],[["اطلاعاتی که نیاز دارم وجود ندارد","missingTheInformationINeed","thumb-down"],["بیشازحد پیچیده/ مراحل بسیار زیاد","tooComplicatedTooManySteps","thumb-down"],["قدیمی","outOfDate","thumb-down"],["مشکل ترجمه","translationIssue","thumb-down"],["مشکل کد / نمونهها","samplesCodeIssue","thumb-down"],["غیره","otherDown","thumb-down"]],["تاریخ آخرین بهروزرسانی 2026-10-18 بهوقت ساعت هماهنگ جهانی."],[],[]]