version 2.5.0
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
// Copyright HTC Corporation All Rights Reserved.
|
||||
|
||||
#if UNITY_EDITOR
|
||||
using UnityEditor;
|
||||
|
||||
using VIVE.OpenXR.FrameSynchronization;
|
||||
|
||||
namespace VIVE.OpenXR.Editor.FrameSynchronization
|
||||
{
|
||||
[CustomEditor(typeof(ViveFrameSynchronization))]
|
||||
public class ViveFrameSynchronizationEditor : UnityEditor.Editor
|
||||
{
|
||||
SerializedProperty m_SynchronizationMode;
|
||||
|
||||
private void OnEnable()
|
||||
{
|
||||
m_SynchronizationMode = serializedObject.FindProperty("m_SynchronizationMode");
|
||||
}
|
||||
|
||||
public override void OnInspectorGUI()
|
||||
{
|
||||
serializedObject.Update();
|
||||
|
||||
EditorGUILayout.PropertyField(m_SynchronizationMode);
|
||||
|
||||
serializedObject.ApplyModifiedProperties();
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d25b2e9fff2d6724b865e0fbd609da9d
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Reference in New Issue
Block a user