AR + GPS Location  3.0.0
All Classes Namespaces Functions Variables Properties Events Pages
ARLocationProviderInspector.cs
1 using UnityEngine;
2 using UnityEditor;
3 
4 namespace ARLocation
5 {
6  [CustomEditor(typeof(ARLocationProvider))]
7  public class ARLocationProviderInspector : Editor
8  {
9  public override void OnInspectorGUI()
10  {
11  DrawDefaultInspector();
12 
13  if (GUILayout.Button("Open AR+GPS Location configuration"))
14  {
15  Selection.activeObject = Resources.Load<ARLocationConfig>("ARLocationConfig");
16  }
17  }
18  }
19 }
ARLocation.ARLocationProviderInspector
Definition: ARLocationProviderInspector.cs:8
ARLocation.ARLocationConfig
This scriptable object holds the global configuration data for the AR + GPS Location plugin.
Definition: ARLocationConfig.cs:12
ARLocation
Definition: ARLocationConfigInspector.cs:7