File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
Assets/MRTK/Core/Utilities/Gltf/Serialization/Importers Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 9
9
10
10
namespace Microsoft . MixedReality . Toolkit . Utilities . Gltf . Serialization . Editor
11
11
{
12
+ #if ! MRTK_GLTF_IMPORTER_OFF
12
13
[ ScriptedImporter ( 1 , "glb" ) ]
14
+ #endif // !MRTK_GLTF_IMPORTER_OFF
13
15
public class GlbAssetImporter : ScriptedImporter
14
16
{
15
17
public override void OnImportAsset ( AssetImportContext context )
16
18
{
17
19
GltfEditorImporter . OnImportGltfAsset ( context ) ;
18
20
}
19
21
}
20
- }
22
+ }
Original file line number Diff line number Diff line change 9
9
10
10
namespace Microsoft . MixedReality . Toolkit . Utilities . Gltf . Serialization . Editor
11
11
{
12
+ #if ! MRTK_GLTF_IMPORTER_OFF
12
13
[ ScriptedImporter ( 1 , "gltf" ) ]
14
+ #endif // !MRTK_GLTF_IMPORTER_OFF
13
15
public class GltfAssetImporter : ScriptedImporter
14
16
{
15
17
public override void OnImportAsset ( AssetImportContext context )
16
18
{
17
19
GltfEditorImporter . OnImportGltfAsset ( context ) ;
18
20
}
19
21
}
20
- }
22
+ }
You can’t perform that action at this time.
0 commit comments