mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-09-12 05:48:47 -05:00
fix obsoleted
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user