public override void OnImportAsset(AssetImportContext ctx) { var asset = AssetDatabase.LoadAssetAtPath <UnityEngine.Object>(ctx.assetPath); if (asset == null) { // first time. set default setting m_reverseAxis = UniGLTFPreference.GltfIOAxis; } ScriptedImporterImpl.Import(this, ctx, m_reverseAxis); }
public override void OnImportAsset(AssetImportContext ctx) { try { ScriptedImporterImpl.Import(this, ctx, m_reverseAxis); } catch (System.Exception ex) { Debug.LogError(ex); } }
public override void OnImportAsset(AssetImportContext ctx) { ScriptedImporterImpl.Import(this, ctx, m_reverseAxis); }