You've already forked Commercialization.topon
update core
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
//菜单栏
|
||||
|
||||
using UnityEditor;
|
||||
using UnityEngine;
|
||||
|
||||
// using DownloadManager;
|
||||
|
||||
namespace AnyThink.Scripts.IntegrationManager.Editor
|
||||
{
|
||||
#if AnyThinkSDKEditor
|
||||
public class AnyThinkMenuItems : MonoBehaviour
|
||||
{
|
||||
/**
|
||||
* 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()
|
||||
{
|
||||
|
||||
ATIntegrationManagerWindow.ShowManager();
|
||||
}
|
||||
|
||||
[MenuItem("AnyThink/Documentation")]
|
||||
public static void Documentation()
|
||||
{
|
||||
if (ATConfig.isSelectedChina()) {
|
||||
Application.OpenURL("https://docs.toponad.com/#/zh-cn/unity/unity_doc/unity_access_plugin_des_doc");
|
||||
} else {
|
||||
Application.OpenURL("https://docs.toponad.com/#/en-us/unity/unity_doc/unity_access_doc_new?id=_3-integration");
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
Reference in New Issue
Block a user