diff --git a/Assets/AnyThinkPlugin/Script/IntegrationManager/Editor/ATMenuItems.cs b/Assets/AnyThinkPlugin/Script/IntegrationManager/Editor/ATMenuItems.cs index 5781027..ad30beb 100644 --- a/Assets/AnyThinkPlugin/Script/IntegrationManager/Editor/ATMenuItems.cs +++ b/Assets/AnyThinkPlugin/Script/IntegrationManager/Editor/ATMenuItems.cs @@ -1,37 +1,40 @@ //菜单栏 + using UnityEditor; using UnityEngine; + // using DownloadManager; namespace AnyThink.Scripts.IntegrationManager.Editor { public class AnyThinkMenuItems : MonoBehaviour { +#if AnyThinkSDKEditor /** * The special characters at the end represent a shortcut for this action. - * + * * % - ctrl on Windows, cmd on macOS * # - shift * & - alt - * + * * So, (shift + cmd/ctrl + t) will launch the integration manager */ - [MenuItem("AnyThink/SDK Manager %#t")] - private static void IntegrationManager() + [MenuItem ("AnyThink/SDK Manager %#t")] + private static void IntegrationManager () { - - ATIntegrationManagerWindow.ShowManager(); + ATIntegrationManagerWindow.ShowManager (); } - [MenuItem("AnyThink/Documentation")] - public static void Documentation() + [MenuItem ("AnyThink/Documentation")] + public static void Documentation () { // if (ATConfig.isSelectedChina()) { // Application.OpenURL("https://newdocs.toponad.com/docs/lgfbO4"); // } else { // Application.OpenURL("https://docs.toponad.com/#/en-us/unity/unity_doc/unity_access_doc_new?id=_3-integration"); // } - Application.OpenURL("https://newdocs.toponad.com/docs/lgfbO4"); + Application.OpenURL ("https://newdocs.toponad.com/docs/lgfbO4"); } +#endif } } \ No newline at end of file