Version: 2017.1
Experimental: this API is experimental and might be changed or removed in the future.

ScriptedImporterAttribute.version

매뉴얼로 전환
public int version ;

설명

Importer version number that is used by the import layer to detect new version of the importer and trigger re-imports when such events occur, to apply latest changes made to the scripted imrpoter.

using UnityEngine;
using UnityEditor.Experimental.AssetImporters;

[ScriptedImporter(1, "sphere")] public class SphereImporter : ScriptedImporter { public override void OnImportAsset(AssetImportContext ctx) { // ... } }