Firstborn/Library/PackageCache/com.unity.ads@4.4.2/Editor/DevX/Utils/AdsDashboardUrls.cs
Schaken-Mods 9092858a58 updated to the latest editor
I updated everything to the latest Unity Editor. Also realized I had the wrong shaders on my hairs, those are fixed and the hairs look MUCH better!
2023-05-07 17:43:11 -05:00

24 lines
753 B
C#

using UnityEditor;
namespace UnityEngine.Advertisements.Editor
{
static class AdsDashboardUrls
{
const string k_HomeFormat = "https://dashboard.unity3d.com/organizations/{0}/projects/{1}/monetization";
public static string GetOverviewUrl()
=> FillUrlWithOrganizationAndProjectIds($"{k_HomeFormat}/overview");
static string FillUrlWithOrganizationAndProjectIds(string url)
{
#if ENABLE_EDITOR_GAME_SERVICES
var organization = CloudProjectSettings.organizationKey;
#else
var organization = CloudProjectSettings.organizationId;
#endif
var filledUrl = string.Format(url, organization, CloudProjectSettings.projectId);
return filledUrl;
}
}
}