上传YomovSDK

This commit is contained in:
Sora丶kong
2026-03-03 03:15:46 +08:00
parent 9096da7e6c
commit eb97f31065
6477 changed files with 1932208 additions and 3 deletions

View File

@@ -0,0 +1,34 @@
using UnityEngine;
using UnityEngine.XR.OpenXR.Features.RuntimeDebugger;
namespace UnityEditor.XR.OpenXR.Features.RuntimeDebugger
{
[CustomEditor(typeof(RuntimeDebuggerOpenXRFeature))]
internal class RuntimeDebuggerOpenXRFeatureEditor : Editor
{
private SerializedProperty cacheSize;
private SerializedProperty perThreadCacheSize;
void OnEnable()
{
cacheSize = serializedObject.FindProperty("cacheSize");
perThreadCacheSize = serializedObject.FindProperty("perThreadCacheSize");
}
public override void OnInspectorGUI()
{
serializedObject.Update();
EditorGUILayout.PropertyField(cacheSize);
EditorGUILayout.PropertyField(perThreadCacheSize);
if (GUILayout.Button("Open Debugger Window"))
{
RuntimeDebuggerWindow.Init();
}
serializedObject.ApplyModifiedProperties();
}
}
}