mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-09-15 07:21:01 -05:00
TryParseOrMigrate return bool
This commit is contained in:
@@ -27,8 +27,7 @@ namespace UniVRM10
|
||||
base.OnEnable();
|
||||
|
||||
m_importer = target as VrmScriptedImporter;
|
||||
m_message = VrmScriptedImporterImpl.TryParseOrMigrate(m_importer.assetPath, m_importer.MigrateToVrm1, out m_parser);
|
||||
if (!string.IsNullOrEmpty(m_message))
|
||||
if (!VrmScriptedImporterImpl.TryParseOrMigrate(m_importer.assetPath, m_importer.MigrateToVrm1, out m_parser, out m_message))
|
||||
{
|
||||
// error
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user