日本語翻訳ドキュメントはサポートを終了しました

MRTK 2.6 以降のドキュメントについては、公式の Microsoft ドキュメント を参照してください。

    Show / Hide Table of Contents

    Class ScriptedImporterAssetReimporter

    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.

    Inheritance
    Object
    ScriptedImporterAssetReimporter
    Namespace: Microsoft.MixedReality.Toolkit.Editor
    Assembly: cs.temp.dll.dll
    Syntax
    public class ScriptedImporterAssetReimporter : AssetPostprocessor

    Methods

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

    Declaration
    public static void OnPostprocessAllAssets(string[] importedAssets, string[] deletedAssets, string[] movedAssets, string[] movedFromAssetPaths)
    Parameters
    Type Name Description
    String[] importedAssets
    String[] deletedAssets
    String[] movedAssets
    String[] movedFromAssetPaths
    Back to top Generated by DocFX