From 13d6b263a9986e64e2fdb4bb905aed0e771dea5d Mon Sep 17 00:00:00 2001 From: ousttrue Date: Fri, 6 Aug 2021 16:41:37 +0900 Subject: [PATCH] fix obsoleted --- Assets/VRM10/Editor/Components/VRM10Window.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;