forked from Unity-Technologies/UnityCsReference
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPurchasingConfiguration.cs
More file actions
47 lines (39 loc) · 1.38 KB
/
Copy pathPurchasingConfiguration.cs
File metadata and controls
47 lines (39 loc) · 1.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
// Unity C# reference source
// Copyright (c) Unity Technologies. For terms of use, see
// https://unity3d.com/legal/licenses/Unity_Reference_Only_License
namespace UnityEditor.Connect
{
/// <summary>
/// Class to contain config stuff for the IAP service, URLs and such.
/// </summary>
internal class PurchasingConfiguration
{
static readonly PurchasingConfiguration k_Instance;
readonly string m_PurchasingPackageUrl;
readonly string m_AnalyticsApiUrl;
readonly string m_GooglePlayDevConsoleUrl;
static PurchasingConfiguration()
{
k_Instance = new PurchasingConfiguration();
}
PurchasingConfiguration()
{
m_PurchasingPackageUrl = "https://public-cdn.cloud.unity3d.com/UnityEngine.Cloud.Purchasing.unitypackage";
m_AnalyticsApiUrl = "https://analytics.cloud.unity3d.com";
m_GooglePlayDevConsoleUrl = "https://play.google.com/apps/publish/";
}
public static PurchasingConfiguration instance => k_Instance;
public string purchasingPackageUrl
{
get { return m_PurchasingPackageUrl; }
}
public string analyticsApiUrl
{
get { return m_AnalyticsApiUrl; }
}
public string googlePlayDevConsoleUrl
{
get { return m_GooglePlayDevConsoleUrl; }
}
}
}