From 14e25083af5b851d3c9776fd81bcf79915bd28f2 Mon Sep 17 00:00:00 2001 From: ousttrue Date: Wed, 17 Mar 2021 18:19:56 +0900 Subject: [PATCH] =?UTF-8?q?base.OnEnable=20=E3=81=8C=E5=BF=85=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit #783 --- .../UniGLTF/ScriptedImporter/GlbScriptedImporterEditorGUI.cs | 2 ++ .../UniGLTF/ScriptedImporter/GltfScriptedImporterEditorGUI.cs | 2 ++ 2 files changed, 4 insertions(+) diff --git a/Assets/UniGLTF/Editor/UniGLTF/ScriptedImporter/GlbScriptedImporterEditorGUI.cs b/Assets/UniGLTF/Editor/UniGLTF/ScriptedImporter/GlbScriptedImporterEditorGUI.cs index f2c001958..f80403f2e 100644 --- a/Assets/UniGLTF/Editor/UniGLTF/ScriptedImporter/GlbScriptedImporterEditorGUI.cs +++ b/Assets/UniGLTF/Editor/UniGLTF/ScriptedImporter/GlbScriptedImporterEditorGUI.cs @@ -17,6 +17,8 @@ namespace UniGLTF public override void OnEnable() { + base.OnEnable(); + m_importer = target as GlbScriptedImporter; m_parser = new GltfParser(); m_parser.ParsePath(m_importer.assetPath); diff --git a/Assets/UniGLTF/Editor/UniGLTF/ScriptedImporter/GltfScriptedImporterEditorGUI.cs b/Assets/UniGLTF/Editor/UniGLTF/ScriptedImporter/GltfScriptedImporterEditorGUI.cs index bdf30fad4..0afc418c8 100644 --- a/Assets/UniGLTF/Editor/UniGLTF/ScriptedImporter/GltfScriptedImporterEditorGUI.cs +++ b/Assets/UniGLTF/Editor/UniGLTF/ScriptedImporter/GltfScriptedImporterEditorGUI.cs @@ -17,6 +17,8 @@ namespace UniGLTF public override void OnEnable() { + base.OnEnable(); + m_importer = target as GltfScriptedImporter; m_parser = new GltfParser(); m_parser.ParsePath(m_importer.assetPath);