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