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.
iot/labs/EasyARDemo/Assets/EasyAR/Scripts/Editor/SettingsMenuItems.cs

41 lines
1.5 KiB

//================================================================================================================================
//
// Copyright (c) 2015-2019 VisionStar Information Technology (Shanghai) Co., Ltd. All Rights Reserved.
// EasyAR is the registered trademark or trademark of VisionStar Information Technology (Shanghai) Co., Ltd in China
// and other countries for the augmented reality technology developed by VisionStar Information Technology (Shanghai) Co., Ltd.
//
//================================================================================================================================
using UnityEditor;
using UnityEngine;
namespace easyar
{
public class LicenseKeyWindow : EditorWindow
{
[MenuItem("EasyAR/Change License Key")]
private static void OpenTheWindow()
{
Selection.SetActiveObjectWithContext(EasyARController.Settings, null);
}
}
public class CloudRecognizerServiceConfigWindow : EditorWindow
{
[MenuItem("EasyAR/Change Global Cloud Recognizer Service Config")]
private static void OpenTheWindow()
{
Selection.SetActiveObjectWithContext(EasyARController.Settings, null);
}
}
public class GizmoConfigWindow : EditorWindow
{
[MenuItem("EasyAR/Change Gizmo Config")]
private static void OpenTheWindow()
{
Selection.SetActiveObjectWithContext(EasyARController.Settings, null);
}
}
}