暫無描述
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

AdsServiceTopMenu.cs 601B

1234567891011121314151617181920
  1. #if SERVICES_SDK_CORE_ENABLED
  2. using UnityEditor;
  3. namespace UnityEngine.Advertisements.Editor
  4. {
  5. static class AdsServiceTopMenu
  6. {
  7. const int k_ConfigureMenuPriority = 100;
  8. const string k_ServiceMenuRoot = "Services/Ads/";
  9. [MenuItem(k_ServiceMenuRoot + "Configure", priority = k_ConfigureMenuPriority)]
  10. static void ShowProjectSettings()
  11. {
  12. EditorGameServiceAnalyticsSender.SendTopMenuConfigureEvent();
  13. var path = AdsSettingsProvider.GetSettingsPath();
  14. SettingsService.OpenProjectSettings(path);
  15. }
  16. }
  17. }
  18. #endif