mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-10-02 07:42:25 -05:00
Merge pull request #797 from ousttrue/fix/unity_2020_ScriptedImporterEditor
base.OnEnable が必用
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user