This repository has been archived on 2025-04-28. You can view files and clone it, but cannot push or open issues or pull requests.
ARPlusSystem/ARPlusSystem-250418/Assets/ARLocation/Editor/ARLocationOrientationInspec...

20 lines
613 B
C#

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
}
}
}