Files
BingoGrassland/unity_package/com.unity.ads.ios-support/Editor/Build/IOSLocalizationSettings.cs
T
changyunjiaandchangyunjia 3ac4fe0cd0 提交修改
2026-06-09 15:16:52 +08:00

27 lines
1.2 KiB
C#
Executable File
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
#if UNITY_IOS
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
// 可配置的多语言描述ScriptableObject
public class IOSLocalizationSettings : ScriptableObject
{
[System.Serializable]
public class LanguageDescription
{
public string languageCode;
public string trackingDescription;
}
public List<LanguageDescription> languageDescriptions = new List<LanguageDescription>
{
new LanguageDescription { languageCode = "en", trackingDescription = "Allow tracking to reduce irrelevant ads and keep the app free." },
new LanguageDescription { languageCode = "ja", trackingDescription = "トラッキングを許可すると、無関係な広告を減らしてアプリを無料で利用できます。" },
new LanguageDescription { languageCode = "fr", trackingDescription = "Autoriser le suivi pour réduire les publicités non pertinentes et garder lapplication gratuite" },
new LanguageDescription { languageCode = "pt", trackingDescription = "Permitir rastreamento para reduzir anúncios irrelevantes e manter o app gratuito." }
};
}
#endif