version 2.0.0
This commit is contained in:
30
com.htc.upm.vive.openxr/Editor/VIVEFocus3FeatureEditor.cs
Normal file
30
com.htc.upm.vive.openxr/Editor/VIVEFocus3FeatureEditor.cs
Normal file
@@ -0,0 +1,30 @@
|
||||
// Copyright HTC Corporation All Rights Reserved.
|
||||
#if UNITY_EDITOR
|
||||
using UnityEditor;
|
||||
|
||||
namespace VIVE.OpenXR.Editor
|
||||
{
|
||||
[CustomEditor(typeof(VIVEFocus3Feature))]
|
||||
internal class VIVEFocus3FeatureEditor : UnityEditor.Editor
|
||||
{
|
||||
//private SerializedProperty enableHandTracking;
|
||||
//private SerializedProperty enableTracker;
|
||||
|
||||
void OnEnable()
|
||||
{
|
||||
//enableHandTracking = serializedObject.FindProperty("enableHandTracking");
|
||||
//enableTracker = serializedObject.FindProperty("enableTracker");
|
||||
}
|
||||
|
||||
public override void OnInspectorGUI()
|
||||
{
|
||||
serializedObject.Update();
|
||||
|
||||
//EditorGUILayout.PropertyField(enableHandTracking);
|
||||
//EditorGUILayout.PropertyField(enableTracker);
|
||||
|
||||
serializedObject.ApplyModifiedProperties();
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
Reference in New Issue
Block a user