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
613 B
19 lines
613 B
using UnityEditor;
|
|
|
|
namespace ARLocation
|
|
{
|
|
[CustomEditor(typeof(ARLocationOrientation))]
|
|
public class ARLocationOrientationInspector : Editor
|
|
{
|
|
public override void OnInspectorGUI()
|
|
{
|
|
DrawDefaultInspector();
|
|
|
|
#if PLATFORM_ANDROID
|
|
EditorGUILayout.HelpBox("On some Android devices, the magnetic compass data is not tilt compensated," +
|
|
"so it is recommended that you check the 'ApplyCompassTiltCompensationOnAndroid' option above. " +
|
|
"\n", MessageType.Warning);
|
|
#endif
|
|
}
|
|
}
|
|
}
|