fix: widen note lanes and clear warnings

This commit is contained in:
jongjae0305
2026-05-26 18:54:56 +09:00
parent 182d2c90b9
commit abd3c9bb36
33 changed files with 109 additions and 93 deletions
@@ -15,10 +15,6 @@ namespace VRSDK.EditorCode
private HandVisualizerTool targetScript = null;
private static string returnScenePath = null;
private static Scene returnScene;
private static bool inPreviewMode = false;
private void Awake()
{
/*
@@ -95,4 +91,3 @@ namespace VRSDK.EditorCode
}
}
@@ -26,15 +26,15 @@ namespace VRSDK.EditorCode
{
Scene originalScene = EditorSceneManager.GetActiveScene();
originalScenePath = EditorApplication.currentScene;
originalScenePath = originalScene.path;
Scene previewScene = EditorSceneManager.NewScene( NewSceneSetup.DefaultGameObjects, NewSceneMode.Additive );
EditorSceneManager.MoveGameObjectToScene( clone, previewScene );
EditorSceneManager.UnloadSceneAsync( originalScene );
previewModeEnable = true;
inspectedGrabbable = GameObject.FindObjectOfType<VR_Grabbable>();
activeController = GameObject.FindObjectOfType<VR_Controller>();
inspectedGrabbable = GameObject.FindFirstObjectByType<VR_Grabbable>();
activeController = GameObject.FindFirstObjectByType<VR_Controller>();
OverrideGrabAnimation();
@@ -55,7 +55,7 @@ namespace VRSDK.EditorCode
{
handPreviewSave = new HandPreviewSave( inspectedGrabbable );
ExitPreviewMode();
GameObjectMarker marker = GameObject.FindObjectOfType<GameObjectMarker>();
GameObjectMarker marker = GameObject.FindFirstObjectByType<GameObjectMarker>();
handPreviewSave.LoadInto(marker.GetComponent<VR_Grabbable>());
GameObject.DestroyImmediate(marker);
}
@@ -131,4 +131,3 @@ namespace VRSDK.EditorCode
}