您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
20 行
598 B
20 行
598 B
#if ENABLE_EDITOR_GAME_SERVICES
|
|
using System;
|
|
using UnityEditor;
|
|
|
|
namespace Unity.Services.Authentication.Editor
|
|
{
|
|
static class AuthenticationTopMenu
|
|
{
|
|
const int k_ConfigureMenuPriority = 100;
|
|
const int k_ToolsMenuPriority = k_ConfigureMenuPriority + 11;
|
|
const string k_ServiceMenuRoot = "Services/Authentication/";
|
|
|
|
[MenuItem(k_ServiceMenuRoot + "Configure", priority = k_ConfigureMenuPriority)]
|
|
static void ShowProjectSettings()
|
|
{
|
|
SettingsService.OpenProjectSettings("Project/Services/Authentication");
|
|
}
|
|
}
|
|
}
|
|
#endif
|