public override void OnInspectorGUI()
    {
        serializedObject.Update();

        // Add clickable script field, as would have been provided by DrawDefaultInspector()
        MonoScript script = MonoScript.FromMonoBehaviour(target as MonoBehaviour);

        EditorGUI.BeginDisabledGroup(true);
        EditorGUILayout.ObjectField("Script", script, typeof(MonoScript), false);
        EditorGUI.EndDisabledGroup();

        EditorGUILayout.PropertyField(gvrControllerMainProp);
        EditorGUILayout.PropertyField(gvrControllerPointerProp);
        EditorGUILayout.PropertyField(gvrReticlePointerProp);

        if (DemoInputManager.playerSettingsHasCardboard() ==
            DemoInputManager.playerSettingsHasDaydream())
        {
            // Show the platform emulation dropdown only if both or neither VR SDK selected in
            // Player Settings > Virtual Reality supported,
            EditorGUILayout.PropertyField(emulatedPlatformTypeProp);
        }

        serializedObject.ApplyModifiedProperties();
    }
    public override void OnInspectorGUI()
    {
        serializedObject.Update();

        EditorGUILayout.PropertyField(gvrControllerMainProp);
        EditorGUILayout.PropertyField(gvrControllerPointerProp);
        EditorGUILayout.PropertyField(gvrReticlePointerProp);

        if (DemoInputManager.playerSettingsHasCardboard() ==
            DemoInputManager.playerSettingsHasDaydream())
        {
            // Show the platform emulation dropdown only if both or neither VR SDK selected in
            // Player Settings > Virtual Reality supported,
            EditorGUILayout.PropertyField(emulatedPlatformTypeProp);
        }

        serializedObject.ApplyModifiedProperties();
    }