Editar

Share via


ScriptedImporterAssetReimporter Class

Definition

Unity has a strange bug when it tries to import a DLL with a ScriptedImporter and an asset that importer is targeting. The first time, it will not invoke the ScriptedImporter as it's just being imported itself; the second time the ScriptedImporter will be constructed but Unity thinks it fails. The third time, the import will succeed. This class will invoke the third time import for .gltf, .glb and .room extensions.

public ref class ScriptedImporterAssetReimporter : UnityEditor::AssetPostprocessor
public class ScriptedImporterAssetReimporter : UnityEditor.AssetPostprocessor
type ScriptedImporterAssetReimporter = class
    inherit AssetPostprocessor
Public Class ScriptedImporterAssetReimporter
Inherits AssetPostprocessor
Inheritance
UnityEditor.AssetPostprocessor
ScriptedImporterAssetReimporter

Constructors

ScriptedImporterAssetReimporter()

Methods

OnPostprocessAllAssets(String[], String[], String[], String[])

Applies to