기술 자료

Unity Engine

Unity Engine

version

Importer version number used by the import layer to detect a new version of the importer.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public int version { get; }

Remarks

The import layer uses this version number to trigger re-imports when there is a new version and apply the latest changes made to the scripted importer.

Examples

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