List of file extensions, without leading period character, that the scripted importer handles.
Minum of one and case incensitive.
#pragma strict @ScriptedImporter(1, ["cb", "cube"]) public class CubeImporter extends ScriptedImporter { public override function OnImportAsset(ctx: AssetImportContext) { // ... } }
using UnityEngine; using UnityEditor.Experimental.AssetImporters;
[ScriptedImporter(1, new[] {"cb", "cube"})] public class CubeImporter : ScriptedImporter { public override void OnImportAsset(AssetImportContext ctx) { // ... } }
Did you find this page useful? Please give it a rating: