コード例 #1
0
ファイル: CrashService.cs プロジェクト: Mu-L/UnityCsReference
 CrashService()
 {
     name            = "Game Performance";
     title           = L10n.Tr("Cloud Diagnostics");
     description     = L10n.Tr("Discover app errors and collect user feedback");
     pathTowardIcon  = @"Builtin Skins\Shared\Images\ServicesWindow-ServiceIcon-Crash.png";
     displayToggle   = false;
     packageName     = null;
     serviceFlagName = "gameperf";
     ServicesRepository.AddService(this);
 }
コード例 #2
0
 CollabService()
 {
     name                = "Collab";
     title               = L10n.Tr("Collaborate");
     description         = L10n.Tr("Create together seamlessly");
     pathTowardIcon      = @"Builtin Skins\Shared\Images\ServicesWindow-ServiceIcon-Collab.png";
     projectSettingsPath = "Project/Services/Collaborate";
     displayToggle       = true;
     packageId           = "com.unity.collab-proxy";
     ServicesRepository.AddService(this);
 }
コード例 #3
0
 AdsService()
 {
     name                = "Unity Ads";
     title               = L10n.Tr("Ads");
     description         = L10n.Tr("Monetize your games");
     pathTowardIcon      = @"Builtin Skins\Shared\Images\ServicesWindow-ServiceIcon-Ads.png";
     projectSettingsPath = "Project/Services/Ads";
     displayToggle       = true;
     packageId           = "com.unity.ads";
     ServicesRepository.AddService(this);
 }
コード例 #4
0
 BuildService()
 {
     name                = "Build";
     title               = L10n.Tr("Cloud Build");
     description         = L10n.Tr("Build games faster");
     pathTowardIcon      = @"Builtin Skins\Shared\Images\ServicesWindow-ServiceIcon-Build.png";
     projectSettingsPath = "Project/Services/Cloud Build";
     displayToggle       = true;
     packageId           = null;
     ServicesRepository.AddService(this);
 }
コード例 #5
0
 UDPService()
 {
     name                = "UDP";
     title               = L10n.Tr("Unity Distribution Portal");
     description         = L10n.Tr("Distribute to multiple app stores through a single hub.");
     pathTowardIcon      = @"Builtin Skins\Shared\Images\ServicesWindow-ServiceIcon-UDP.png";
     projectSettingsPath = "Project/Services/Unity Distribution Portal";
     displayToggle       = false;
     isPackage           = true;
     packageId           = "com.unity.purchasing.udp";
     ServicesRepository.AddService(this);
 }
コード例 #6
0
        AnalyticsService()
        {
            string serviceName = L10n.Tr("Analytics");

            name                = serviceName;
            title               = serviceName;
            description         = L10n.Tr("Discover player insights");
            pathTowardIcon      = @"Builtin Skins\Shared\Images\ServicesWindow-ServiceIcon-Analytics.png";
            projectSettingsPath = "Project/Services/Analytics";
            displayToggle       = true;
            packageId           = "com.unity.analytics";
            ServicesRepository.AddService(this);
        }
コード例 #7
0
        PurchasingService()
        {
            k_PackageUri = new Uri(PurchasingConfiguration.instance.purchasingPackageUrl);

            name                = "Purchasing";
            title               = L10n.Tr("In-App Purchasing");
            description         = L10n.Tr("Simplify cross-platform IAP");
            pathTowardIcon      = @"Builtin Skins\Shared\Images\ServicesWindow-ServiceIcon-Purchasing.png";
            projectSettingsPath = "Project/Services/In-App Purchasing";
            displayToggle       = true;
            packageId           = "com.unity.purchasing";
            ServicesRepository.AddService(this);
        }
コード例 #8
0
        AnalyticsService()
        {
            const string serviceName = "Legacy Analytics";

            name            = serviceName;
            title           = L10n.Tr(serviceName);
            description     = L10n.Tr("Discover player insights");
            pathTowardIcon  = @"Builtin Skins\Shared\Images\ServicesWindow-ServiceIcon-Analytics.png";
            displayToggle   = true;
            packageName     = "com.unity.analytics";
            serviceFlagName = "analytics";
            ServicesRepository.AddService(this);
        }
コード例 #9
0
ファイル: AdsService.cs プロジェクト: Mu-L/UnityCsReference
        AdsService()
        {
            name            = "Unity Ads";
            title           = L10n.Tr("Ads");
            description     = L10n.Tr("Monetize your games");
            pathTowardIcon  = @"Builtin Skins\Shared\Images\ServicesWindow-ServiceIcon-Ads.png";
            displayToggle   = true;
            packageName     = "com.unity.ads";
            serviceFlagName = "ads";
            ServicesRepository.AddService(this);

            InitializeService();
        }