diff --git a/Assets/VRM10/Editor/Components/VRM10Window.cs b/Assets/VRM10/Editor/Components/VRM10Window.cs index 5bf93747b..886e0eea7 100644 --- a/Assets/VRM10/Editor/Components/VRM10Window.cs +++ b/Assets/VRM10/Editor/Components/VRM10Window.cs @@ -28,14 +28,14 @@ namespace UniVRM10 Undo.willFlushUndoRecord += Repaint; UnityEditor.Selection.selectionChanged += Repaint; - SceneView.onSceneGUIDelegate += OnSceneGUI; + SceneView.duringSceneGui += OnSceneGUI; } void OnDisable() { SpringBoneEditor.Disable(); - SceneView.onSceneGUIDelegate -= OnSceneGUI; + SceneView.duringSceneGui -= OnSceneGUI; // Debug.Log("OnDisable"); UnityEditor.Selection.selectionChanged -= Repaint; Undo.willFlushUndoRecord -= Repaint;