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.
19 lines
473 B
19 lines
473 B
using UnityEngine;
|
|
using UnityEditor;
|
|
|
|
namespace ARLocation
|
|
{
|
|
[CustomEditor(typeof(ARLocationManager))]
|
|
public class ARLocationManagerInspector : Editor
|
|
{
|
|
public override void OnInspectorGUI()
|
|
{
|
|
DrawDefaultInspector();
|
|
|
|
if (GUILayout.Button("Open AR+GPS Location configuration"))
|
|
{
|
|
Selection.activeObject = Resources.Load<ARLocationConfig>("ARLocationConfig");
|
|
}
|
|
}
|
|
}
|
|
}
|